Skip to content

spo theme remove

Removes existing theme

Usage

m365 spo theme remove [options]

Options

-n, --name <name>
Name of the theme to remove
--confirm
Do not prompt for confirmation before removing theme
-h, --help
output usage information
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text. Default text
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Important

To use this command you have to have permissions to access the tenant admin site.

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

More information