purview retentionlabel remove
Delete a retention label
Usage
m365 purview retentionlabel remove [options]
Options
-i, --id <id>
The Id of the retention label.
-f, --force
Don't prompt for confirming to remove the label.
-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 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
.--verbose
Runs command with verbose logging.
--debug
Runs command with debug logging.
Remarks
This command is based on a Microsoft Graph API that is currently in preview and is subject to change once the API reached general availability.
Examples
Delete a retention label
m365 purview retentionlabel remove --id 'e554d69c-0992-4f9b-8a66-fca3c4d9c531'
Response
The command won't return a response on success.