design.zone.remove

Remove an extension block from a storefront zone of the workspace draft.

Payload

fieldtyperequirednotes
workspacestring (/^(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
extstring (/^[a-z0-9-]+\.[a-z0-9-]+$/, ≤80 chars)yes
blockstring (/^[a-z][a-z0-9-]{1,39}$/)yes
expectedRevinteger (1..9007199254740991) | nullno

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