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
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging


Before using this command, log in to a SharePoint Online tenant admin site, using the spo login command.


To remove a theme, you have to first log in to a tenant admin site using the spo login command, eg. spo login


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