API ReferenceMedia
Delete a media asset
Fails with 409 while the asset is in use — attached to a post, referenced by a channel brand kit, or set as the workspace logo or a channel avatar. Detach it first.
Authorization
api-key AuthorizationBearer <token>
Workspace API key (nim_live_...)
In: header
Path Parameters
id*string
Media asset id
Response Body
application/json
curl -X DELETE "https://example.com/v1/media/string"{ "id": "string"}Empty