planner task checklistitem remove
Removes the checklist item from the Planner task.
Usage
m365 planner task checklistitem remove [options]
Options
-i, --id <id>ID of the checklist item.
--taskId <taskId>ID of the task.
-f, --forceDon't prompt for confirmation
-h, --help [help]Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options,examples,remarks,permissions,response,full. Default isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Permissions
- Delegated
- Application
| Resource | Permissions |
|---|---|
| Microsoft Graph | Tasks.ReadWrite |
| Resource | Permissions |
|---|---|
| Microsoft Graph | Tasks.ReadWrite.All |
Examples
Removes a checklist item with the id 40012 from the Planner task with the id 2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2
m365 planner task checklistitem remove --id "40012" --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2"
Removes a checklist item with the id 40012 from the Planner task with the id 2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2 without prompt
m365 planner task checklistitem remove --id "40012" --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --force
Response
The command won't return a response on success.