Skip to main content

spo theme remove

Removes existing theme

Usage​

m365 spo theme remove [options]

Options​

-n, --name <name>

Name of the theme to remove

-f, --force

Do not prompt for confirmation before removing theme

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

Remove theme. Will prompt for confirmation before removing the theme

m365 spo theme remove --name Contoso-Blue

Remove theme without prompting for confirmation

m365 spo theme remove --name Contoso-Blue --force

Response​

The command won't return a response on success.

More information​