Deletes one or more source files at a time.
Operation description
All media processing operations in ApsaraVideo VOD, such as transcoding, snapshot capture, and content moderation, are performed based on source files. If you delete the source files, you cannot perform media processing operations. Exercise caution when you call this operation.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
VideoIds | string | Yes | The IDs of audio or video files whose source files that you want to delete. You can specify up to 20 IDs. Separate multiple IDs with commas (,). You can use one of the following methods to obtain the ID:
| 23ab850b4f654b6e91d24d8157****,93ab850b4f6f4b6e91d24d81d4**** |
Force | boolean | No | Specifies whether to forcibly delete the source file. Valid values:
Note
If a video is uploaded without transcoding or is asynchronously transcoded, the source file of the video is used for original-quality playback. By default, the source 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.