Usage
m365 spe container recyclebinitem remove [options]
Description
Permanently removes a container from the recycle bin
Options
| Option |
Description |
-i, --id [id] |
Container id. Specify either id or name but not both. |
-n, --name [name] |
Display name of the Container. Specify either id or name but not both. |
--containerTypeId [containerTypeId] |
The container type ID of the container instance. Use either containerTypeId or containerTypeName but not both. |
--containerTypeName [containerTypeName] |
The container type name of the container instance. Use either containerTypeId or containerTypeName but not both. |
-f, --force |
Don't prompt for confirmation. |
Examples
Remove a deleted container by ID.
m365 spe container recyclebinitem remove --id "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"
Remove a deleted container by using its name and container type ID.
m365 spe container recyclebinitem remove --containerTypeId "91710488-5756-407f-9046-fbe5f0b4de73" --name "Invoices"
Remove a deleted container by using its name and container type name.
m365 spe container recyclebinitem remove --containerTypeName "My container type name" --name "Invoices"
Default properties
No response
Additional Info
API: https://learn.microsoft.com/en-us/graph/api/filestorage-delete-deletedcontainers?view=graph-rest-1.0&tabs=http
Usage
m365 spe container recyclebinitem remove [options]
Description
Permanently removes a container from the recycle bin
Options
-i, --id [id]idornamebut not both.-n, --name [name]idornamebut not both.--containerTypeId [containerTypeId]containerTypeIdorcontainerTypeNamebut not both.--containerTypeName [containerTypeName]containerTypeIdorcontainerTypeNamebut not both.-f, --forceExamples
Remove a deleted container by ID.
m365 spe container recyclebinitem remove --id "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"Remove a deleted container by using its name and container type ID.
Remove a deleted container by using its name and container type name.
Default properties
No response
Additional Info
API: https://learn.microsoft.com/en-us/graph/api/filestorage-delete-deletedcontainers?view=graph-rest-1.0&tabs=http