Immediately deletes the fragments generated during upload.

  • After a media file is uploaded, the fragments are automatically deleted.
  • The buckets allocated by ApsaraVideo VOD automatically delete the fragments after the fragments expire.
  • If you call the DeleteVideo operation, the fragment deletion is automatically triggered.
  • The DeleteMultipartUpload operation does not delete video mezzanine files and output files.


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 DeleteMultipartUpload

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

MediaId String Yes 61ccbdb06fa*****3012be4d8083f6

The ID of the media file.

MediaType String Yes video

The type of the media file. Set the value to video, which indicates audio and video files.

Response parameters

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

The ID of the request.


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 specified parameter "MediaType" is invalid.


The error message returned because the MediaType parameter is invalid.


The multipart upload not exist.


The error message returned because the fragments do not exist.


The video does not exist.


The error message returned because the video ID does not exist.


The file does not exist.


The error message returned because the video file does not exist.


can't find storage.


The error message returned because the specified storage location does not exist.


Access denied by authorizer's policy.


The error message returned because ApsaraVideo VOD is not authorized to access the self-managed Object Storage Service (OSS) bucket and you are not authorized to perform the operation.