All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

AbortMultipartUpload

Last updated:2021-09-14 16:18:13

Description

This operation will give up a block upload task. When the task is abandoned, using the corresponding upload ID will not achieve any block upload. The uploaded blocks in the store will be released.

Request

Syntax

DELETE /{ObjectKey}?uploadId={UploadId} HTTP/1.1
Host: {BucketName}.{endpoint}
Date: {date}
Authorization: {SignatureValue}

Attention:

Request Parameters

The request does not use the request parameter.

Request Headers

This request uses only the common request headers. For more information, please click Public Request Headers

Response

Response Headers

This interface only uses common response headers. For more information, please click Public Response Headers.

Response Elements

The interface does not use response content.

Special Errors

Error Code Description HTTP Status Code SOAP Prefix of Error Code
NoSuchUpload The specified chunk upload task does not exist. It may be that the upload ID is invalid, or the block upload task has been completed or abandoned. 404 Not Found Client

Examples

Sample Request

DELETE /my-video.rm ?uploadId=1aa9cfad5e2e405c8f27965feb8b60cc HTTP/1.1
Host: ks3-example.ks3-cn-beijing.ksyuncs.com
Date: Wed, 01 Mar 2006 12:00:00 GMT
Authorization: authorization string

Sample Response

HTTP/1.1 204 OK
Date: Mon, 1 Nov 2010 20:34:56 GMT
Content-Length: 0
Connection: keep-alive
Server: Tengine

Interface Detail Analysis

  • For block uploads that are no longer used and do not perform Complete Multipart Upload, it is recommended to call this interface to cancel the block upload task.
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback