design.zone.remove
Remove an extension block from a storefront zone of the workspace draft.
- scope:
design:write - storefront-visible (bumps the catalog generation): no
- destructive: no
Payload
| field | type | required | notes |
|---|---|---|---|
workspace | string (/^(main|ws_[A-Z0-9]{26})$/, default "main") | no | |
zone | "header.utility" | "header.below" | "home.top" | "home.bottom" | "product.gallery.after" | "product.below-buybox" | "product.after-description" | "product.bottom" | "collection.before-grid" | "collection.after-grid" | "cart.top" | "cart.bottom" | "footer.above" | "page.top" | "page.bottom" | yes | |
ext | string (/^[a-z0-9-]+\.[a-z0-9-]+$/, ≤80 chars) | yes | |
block | string (/^[a-z][a-z0-9-]{1,39}$/) | yes | |
expectedRev | integer (1..9007199254740991) | null | no |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"workspace": {
"default": "main",
"type": "string",
"pattern": "^(main|ws_[A-Z0-9]{26})$"
},
"zone": {
"type": "string",
"enum": [
"header.utility",
"header.below",
"home.top",
"home.bottom",
"product.gallery.after",
"product.below-buybox",
"product.after-description",
"product.bottom",
"collection.before-grid",
"collection.after-grid",
"cart.top",
"cart.bottom",
"footer.above",
"page.top",
"page.bottom"
]
},
"ext": {
"type": "string",
"maxLength": 80,
"pattern": "^[a-z0-9-]+\\.[a-z0-9-]+$"
},
"block": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{1,39}$"
},
"expectedRev": {
"default": null,
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"zone",
"ext",
"block"
],
"additionalProperties": false
}Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/design.zone.remove.md