catalog.media.delete

Permanently delete an UNUSED media file (refused while referenced by catalog, live design, or the draft).

Payload

fieldtyperequirednotes
idstring (/^med_[a-zA-Z0-9]{1,32}$/)yes

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^med_[a-zA-Z0-9]{1,32}$"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/catalog.media.delete.md