spo site recyclebinitem remove
Permanently deletes specific items from the site recycle bin
Usage
m365 spo site recyclebinitem remove [options]
Options
-u, --siteUrl <siteUrl>URL of the site where the recycle bin is located.
-i, --ids <ids>Comma separated list of item IDs.
-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.
Remarks
Items in the recycle bin will be permanently removed without the ability to restore them.
Examples
Permanently remove 2 specific items from the recycle bin
m365 spo site recyclebinitem remove --siteUrl https://contoso.sharepoint.com/sites/sales --ids "06ca4fe4-3048-4b76-bd41-296fed4c9881,d679c17b-d7b8-429a-9307-34e1d9e631e7"
Permanently remove 2 specific items from the recycle bin and skip the confirmation prompt
m365 spo site recyclebinitem remove --siteUrl https://contoso.sharepoint.com/sites/sales --ids "06ca4fe4-3048-4b76-bd41-296fed4c9881,d679c17b-d7b8-429a-9307-34e1d9e631e7" --force
Response
The command won't return a response on success.