theme delete
Deletes a theme from your store.
You can specify multiple themes by ID. If no theme is specified, then you're prompted to select the theme that you want to delete from the list of themes in your store.
You're asked to confirm that you want to delete the specified themes before they are deleted. You can skip this confirmation using the --force flag.
Anchor to flagsFlags
The following flags are available for the theme delete command:
- Anchor to --auth-alias <value>--auth-alias <value>--auth-alias <value>stringstringenv: SHOPIFY_FLAG_AUTH_ALIASenv: SHOPIFY_FLAG_AUTH_ALIAS
Alias of the Shopify account to use for authentication.
- Anchor to --no-color--no-color--no-colorenv: SHOPIFY_FLAG_NO_COLORenv: SHOPIFY_FLAG_NO_COLOR
Disable color output.
- Anchor to --password <value>--password <value>--password <value>stringstringenv: SHOPIFY_CLI_THEME_TOKENenv: SHOPIFY_CLI_THEME_TOKEN
Password generated from the Theme Access app or an Admin API token.
- Anchor to --path <value>--path <value>--path <value>stringstringenv: SHOPIFY_FLAG_PATHenv: SHOPIFY_FLAG_PATH
The path where you want to run the command. Defaults to the current working directory.
- Anchor to --verbose--verbose--verboseenv: SHOPIFY_FLAG_VERBOSEenv: SHOPIFY_FLAG_VERBOSE
Increase the verbosity of the output. May include sensitive data.
- Anchor to -a, --show-all-a, --show-all-a, --show-allenv: SHOPIFY_FLAG_SHOW_ALLenv: SHOPIFY_FLAG_SHOW_ALL
Include other development themes in the theme list. Use --show-all, --development, or --theme in non-interactive environments.
- Anchor to -d, --development-d, --development-d, --developmentenv: SHOPIFY_FLAG_DEVELOPMENTenv: SHOPIFY_FLAG_DEVELOPMENT
Delete your development theme. Use --show-all, --development, or --theme in non-interactive environments.
- Anchor to -e, --environment <value>-e, --environment <value>-e, --environment <value>stringstringenv: SHOPIFY_FLAG_ENVIRONMENTenv: SHOPIFY_FLAG_ENVIRONMENT
The environment to apply to the current command.
- Anchor to -f, --force-f, --force-f, --forceenv: SHOPIFY_FLAG_FORCEenv: SHOPIFY_FLAG_FORCE
Skip confirmation. Required if non interactive.
- Anchor to -s, --store <value>-s, --store <value>-s, --store <value>stringstringenv: SHOPIFY_FLAG_STOREenv: SHOPIFY_FLAG_STORE
Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).
- Anchor to -t, --theme <value>-t, --theme <value>-t, --theme <value>stringstringenv: SHOPIFY_FLAG_THEME_IDenv: SHOPIFY_FLAG_THEME_ID
Theme ID or name of the remote theme. Use --show-all, --development, or --theme in non-interactive environments.
theme delete
Examples
theme delete
shopify theme delete [flags]