DELETE/api/v1/media/{id}
Queue a media asset for deletion
Refuses while content still references the asset.
Parameters 1
| Name | Type | Description |
|---|---|---|
idrequired | path · integer |
ReturnsResponseMediaAssetView
Response examples
200Asset queued for deletion
*/* example derived from schema
{
"statusCode": 0,
"statusMessage": "string",
"data": {
"id": 0,
"s3Key": "string",
"visibility": "string",
"scope": "string"
},
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}404Unknown id, or id belongs to another tenant (MEDIAASSETNOT_FOUND)
*/* example derived from schema
{
"statusCode": 0,
"statusMessage": "string",
"data": {
"id": 0,
"s3Key": "string",
"visibility": "string",
"scope": "string"
},
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}409Content still references the asset (MEDIAASSETIN_USE)
*/* example derived from schema
{
"statusCode": 0,
"statusMessage": "string",
"data": {
"id": 0,
"s3Key": "string",
"visibility": "string",
"scope": "string"
},
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}