Deletes one or more mezzanine files at a time.
Operation Description
All media processing operations in ApsaraVideo VOD, such as transcoding, snapshot capture, and content moderation, are performed on mezzanine files. If you delete the mezzanine files, you cannot perform follow-up media processing operations. Exercise caution when you call this operation.
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
vod:DeleteMezzanines | Write |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
VideoIds | string | Yes | The list of video IDs. A maximum of 20 video IDs can be specified at a time. Separate multiple IDs with commas (,). | 23ab850b4f654b6e91d24d8157****,93ab850b4f6f4b6e91d24d81d4**** |
Force | boolean | No | Specifies whether to forcibly delete the mezzanine file. Default value: false. NoteIf a video is delivered without transcoding or is asynchronously transcoded, the mezzanine file of the video is used for original-quality playback. By default, the mezzanine file of the video cannot be deleted. To forcibly delete the mezzanine file, set this parameter to true. | false |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "25818875-5F78-4AF6-D7393642CA58****",
"UnRemoveableVideoIds": [
"23ab850b4f6f44b6e91d24d8157****"
],
"NonExistVideoIds": [
"93ab850b4f6f4b6e91d24d81d4****"
]
}
Error codes
For a list of error codes, visit the Service error codes.