Deletes one or more videos at a time, including their mezzanine files, transcoded stream files, and thumbnail snapshots.

Note This operation physically deletes videos. Deleted videos cannot be recovered. Exercise caution when you call this operation.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteVideo

The operation that you want to perform. Set the value to DeleteVideo.

VideoIds String Yes e44ebf114*****2d2adbea8bf5b5,e44ebf11*****adbea8bf55

The list of video IDs. Separate multiple IDs with commas (,). A maximum of 20 IDs can be specified.

Response parameters

Parameter Type Example Description
RequestId String 25818875-5F78-4A*****F6-D7393642CA58

The ID of the request.

ForbiddenVideoIds List 73ab850b4f6f4*****b6e91d24d81d5

The IDs of the videos that cannot be deleted.

Note Generally, videos cannot be deleted if you do not have required permissions.
NonExistVideoIds List 93ab850b4f6f*****4b6e91d24d81d4

The IDs of the videos that do not exist.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "25818875-5F78-4A*****F6-D7393642CA58",

Error codes

For a list of error codes, visit the API Error Center.

Common errors

The following table describes the common errors that this operation can return.

Error code

Error message

HTTP status code



The VideoIds exceeded maximum.


The error message returned because the list of video IDs exceeds the maximum length.


The video does not exist.


The error message returned because the video does not exist.


Deleting video has failed due to some unknown error.


The error message returned because the system failed to delete the video. Try again later.

SDK examples

We recommend that you use a server SDK to call this operation. For more information about the sample code that is used to call this operation in various languages, see the following topics: