Skip to main content

todo list set

Updates a Microsoft To Do task list

Usage

m365 todo list set [options]

Options

-i, --id [id]

The ID of the list to update. Specify either id or name, but not both.

-n, --name [name]

The display name of the list to update. Specify either id or name, but not both.

--newName <newName>

The new name for 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 options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Examples

Rename the list with a specific ID

m365 todo list set --id "AAMkAGI3NDhlZmQzLWQxYjAtNGJjNy04NmYwLWQ0M2IzZTNlMDUwNAAuAAAAAACQ1l2jfH6VSZraktP8Z7auAQCbV93BagWITZhL3J6BMqhjAAD9pHIhAAA=" --newName "My updated task list"

Rename a list with a specific title

m365 todo list set --name "My Task list" --newName "My updated task list"

Response

The command won't return a response on success.

CTRL + M