Skip to content

spo theme remove

Removes existing theme


spo theme remove [options]


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


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


Remove theme. Will prompt for confirmation before removing the theme

spo theme remove --name Contoso-Blue

Remove theme without prompting for confirmation

spo theme remove --name Contoso-Blue --confirm

More information