Skip to content

spo theme remove

Removes existing theme

Usage

spo theme remove [options]

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

Important

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

Remarks

To remove a theme, you have to first log in to a tenant admin site using the spo login command, eg. spo login https://contoso-admin.sharepoint.com.

Examples

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