Skip to content

todo list remove

Removes a Microsoft To Do task list

Usage

m365 todo list remove [options]

Options

-n, --name [name]
The name of the task list to remove. Specify either id or name, but not both.
-i, --id [id]
The ID of the task list to remove. Specify either id or name, but not both.
--confirm
Don't prompt for confirming removing the task list.
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is full.
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

Remove a task list with specific name

m365 todo list remove --name "My task list"

Remove a task list with the ID without confirmation prompt

m365 todo list remove --id "AAMkAGI3NDhlZmQzLWQxYjAtNGJjNy04NmYwLWQ0M2IzZTNlMDUwNAAuAAAAAACQ1l2jfH6VSZraktP8Z7auAQCbV93BagWITZhL3J6BMqhjAAD9pHIhAAA=" --confirm

Response

The command won't return a response on success.