delete_theme
Delete a non-active theme from Shopify using its theme ID. The main active theme cannot be deleted.
Instructions
Delete a theme. The active (MAIN) theme cannot be deleted. Requires write_themes access scope and a Shopify exemption.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme_id | Yes | The GID of the theme to delete (e.g. 'gid://shopify/OnlineStoreTheme/123'). |