# `theme.uninstall` Remove an installed theme version. Refused while the live version, any draft/workspace or an open proposal references it. - **scope**: `design:write` - **storefront-visible** (bumps the catalog generation): no - **destructive**: yes — supports dryRun preview ## Payload | field | type | required | notes | |---|---|---|---| | `themeId` | string (/^[a-z][a-z0-9-]*\.[a-z][a-z0-9-]*$/, ≤80 chars) | yes | | | `version` | string (/^\d+\.\d+\.\d+$/) | yes | | ### JSON Schema ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "themeId": { "type": "string", "maxLength": 80, "pattern": "^[a-z][a-z0-9-]*\\.[a-z][a-z0-9-]*$" }, "version": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+$" } }, "required": [ "themeId", "version" ], "additionalProperties": false } ```