Last update:2025-08-18 15:54:05
You can call AbortMultipartUpload to abort the multipart upload task. Please notice that UploadPart and ListParts will be unavailable once you called AbortMultipartUpload or CompleteMultipartUpload, and the storage spaces which are taken by the uploaded parts of the object will be released as well. In addition, the upload tasks ongoing will not succeed.
Therefore, you may have to call the interface several times to terminate the multipartupload task as well as to release the storage space completely.
Please call ListParts to check if the part list of the task is empty.
DELETE /ObjectName?uploadId=uploadID HTTP/1.1
Host: Bucket.Endpoint
Date: date
Authorization: authorization
| Name | Description | Required |
|---|---|---|
| uploadId | The Upload ID returned in the response to an Initiate Multipart Upload request. | Yes |
Please use Common Request Headers .
None
HTTP/1.1 status_code
x-wos-request-id: request id
Date: date
Content-Length: 0
Connection: close
Server: WS-Web-Server
Please use Common Response Headers .
None
| Situation | HTTP Status | Error Code | Message |
|---|---|---|---|
| The specified uploadId does not exist. This may occur if the upload ID is invalid, or if the multipart upload has already been completed or aborted. | 404 Not Found | NoSuchUpload | The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed. |
DELETE /example-object?uploadId=VXBsb2FkIElEIGZvciBlbHZpbmcncyBteS1tb3ZpZS5tMnRzIHVwbG9hZ HTTP/1.1
Host: bucket.s3-cn-east-1.wcsapi.com
Date: Mon, 1 Nov 2010 20:34:56 GMT
Authorization: WOS AKIAIOSFODNN7EXAMPLE:0RQf3/cRonhpaBX5sCYVf1bNRuU=
HTTP/1.1 200 OK
x-wos-request-id: 996c76696e6727732072657175657374
Date: Mon, 1 Nov 2020 20:34:56 GMT
Content-Length: 0
Connection: close
Server: WS-Web-Server