Delete a media asset
delete_mediaPermanently delete a media asset from the CMS, removing the catalog entry and stored bytes. Requires explicit user confirmation; there is no undo.
Instructions
Delete a media asset. Removes the catalog row and the stored bytes. PERMANENT: this deletes content from the customer's Site. There is no trash and no undo. Ask the user before calling this, and pass confirm: true only once they have agreed. Needs a secret key (wv_sk_) carrying the media:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A UUID. | |
| confirm | No | Set to true only after the user has explicitly agreed to this action. Calling without it returns a description of what would happen and changes nothing. |