Skip to content

planner task reference remove

Removes the reference from the Planner task.

Usage

m365 planner task reference remove [options]

Options

-u, --url [url]
URL location of the reference. Specify either alias or url but not both.
--alias [alias]
The alias of the reference. Specify either alias or url but not both.
-i, --taskId <taskId>
ID of the task.
--confirm
Don'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, 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,md. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

Removes a reference with the url https://www.microsoft.com from the Planner task with the id 2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2

m365 planner task reference remove --url "https://www.microsoft.com" --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" 

Removes a reference with the alias Parker from the Planner task with the id 2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2

m365 planner task reference remove --alias "Parker" --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2"

Response

The command won't return a response on success.