Delete a provisioned MediaAsset
DELETE {{baseUrl}}/mediaAssets/:mediaAssetId?deleteMode=DELETE_DERIVATIONS
Deletes a MediaAsset resource by identifier. If DeleteChildren is passed in as the mode, all the assets with the parentMediaAssetId matching the ID will be deleted. If DeleteDerivatives is set as the mode, all the assets with the masterMediaAssetId matching the ID will be deleted.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
deleteMode | string | DeleteMode decides whether to delete all the immediate children or all assets with the asset's ID as their masterMediaAssetId. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | For optimistic concurrency control. In the PUT or DELETE call | |
for a resource, set the if-match parameter to the value of the | |||
etag from a previous GET or POST response for that resource. | |||
The resource will be updated or deleted only if the etag you | |||
provide matches the resource's current etag value. | |||
opc-request-id | string | The client request ID for tracing. | |
Accept | string |