AbortMultipartUpload

最近更新时间:2020-04-03 03:33:33

Abort Multipart Upload


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.ksyun.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.

金山云,开启您的云计算之旅

注册有礼