API ReferenceMedia
Delete a media asset
Delete a media asset from storage.
Authorization
bearerAuth AuthorizationBearer <token>
API keys start with cue_sk_ prefix. Get your key from the Cue dashboard.
Example: cue_sk_abc123def456ghi789jkl012mno345pqr678stu901vwx234
In: header
Path Parameters
id*string
Media asset ID
Response Body
application/json
application/json
application/json
curl -X DELETE "https://api.oncue.so/v1/media/med_x9k4m2n7pqhj"{
"data": {
"deleted": true
}
}{
"error": "Unauthorized"
}{
"error": "Asset not found"
}