Description
You can call this operation to delete multiple source files.
Request parameters
Name | Type | Required | Description |
---|---|---|---|
Action | String | Yes | The operation that you want to perform. Set the value to DeleteMezzanines. |
VideoIds | String | Yes | The list of video IDs. Separate multiple video IDs with a comma (,). You can enter a maximum of 20 video IDs. |
Force | Boolean | No | Indicates whether to forcibly delete the source file. Default value: false. Note: In no transcoding or asynchronous transcoding mode, the source file is used to support the original-definition playback of the video and therefore cannot be deleted by default. To forcibly delete this source file, set the value of this parameter to true. |
Response parameters
Name | Type | Description |
---|---|---|
RequestId | String | The GUID generated by Alibaba Cloud for the request. |
NonExistVideoIds | String[] | The list of video IDs that do not exist. |
UnRemoveableVideoIds | String[] | The list of video IDs whose source files cannot be deleted. |
Examples
Sample requests
http://vod.cn-shanghai.aliyuncs.com/?Action=DeleteMezzanines&VideoIds=23ab850b4f6f44eab54b6e91d24d8157,93ab850b4f6f44eab54b6e91d24d81d4&Format=JSON&<Common request parameters>
Note: For more information about common request parameters, see Common parameters.
Sample responses
JSON format
{
"RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
"NonExistVideoIds": ["93ab850b4f6f44eab54b6e91d24d81d4"],
"UnRemoveableVideoIds":["23ab850b4f6f44eab54b6e91d24d8157"]
}