# `catalog.media.delete` Permanently delete an UNUSED media file (refused while referenced by catalog, live design, or the draft). - **scope**: `catalog:write` - **storefront-visible** (bumps the catalog generation): no - **destructive**: yes — supports dryRun preview ## Payload | field | type | required | notes | |---|---|---|---| | `id` | string (/^med_[a-zA-Z0-9]{1,32}$/) | yes | | ### JSON Schema ```json { "$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 } ```