Skip to main content

spe container recyclebinitem list

Lists deleted containers of a specific container type

Usage

m365 spe container recyclebinitem list [options]

Options

--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.

-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 is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Examples

List deleted containers of a specific container type specified by id.

m365 spe container recyclebinitem list --containerTypeId "91710488-5756-407f-9046-fbe5f0b4de73"

List deleted containers of a specific container type specified by name.

m365 spe container recyclebinitem list --containerTypeName "My container type name"

Response

[
{
"id": "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z",
"displayName": "My Application Storage Container",
"containerTypeId": "1a55ba46-a673-45a4-b0d9-bd9913d06957",
"createdDateTime": "2025-04-15T21:51:48Z",
"settings": {
"isOcrEnabled": false
}
}
]