Usage
m365 spo folder retentionlabel remove [options]
Description
Clear the retention label from a folder
Options
| Option |
Description |
-u, --webUrl <webUrl> |
The url of the web |
--folderUrl [folderUrl] |
The server-relative URL of the folder of which the label should be removed. Specify either folderUrl or folderId but not both. |
i, --folderId [folderId] |
The UniqueId (GUID) of the folder of which the label should be removed. Specify either folderUrl or folderId but not both. |
--confirm |
Don't prompt for confirming to remove the label. |
Examples
Clear the label from a folder
m365 spo folderretentionlabel remove --webUrl 'https://contoso.sharepoint.com/sites/sales' --folderUrl '/sites/sales/somelibrary/somefile.pdf
More information
This command can be implemented with shared code created for #4162.
Usage
m365 spo folder retentionlabel remove [options]
Description
Clear the retention label from a folder
Options
-u, --webUrl <webUrl>--folderUrl [folderUrl]folderUrlorfolderIdbut not both.i, --folderId [folderId]folderUrlorfolderIdbut not both.--confirmExamples
Clear the label from a folder
More information