Skip to main content

spe containertype remove

Remove a specific container type

Usage

m365 spe containertype remove [options]

Options

-i, --id [id]

The ID of the container type. Specify either id or name but not both.

-n, --name [name]

The container type name. Specify either id or name but not both.

-f, --force

Force removal of the container type without 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 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.

Remarks

info

To use this command you must be either SharePoint Administrator or Global Administrator.

Examples

Removes a container type by ID

m365 spe containertype remove --id 4ec4aefd-4fa3-0e4a-20c3-6e68389e7138

Removes a container type by name

m365 spe containertype remove --name 'My container type'

Response

The command won't return a response on success.

CTRL + M