AbortMultipartUpload
Updated at:2025-11-03
API description
This API allows users to terminate a MultipartUpload request. Once the request is processed, BOS will delete the uploaded data.
Request
-
Request syntax:
Plain Text1DELETE /<ObjectKey>?uploadId=UploadId HTTP/1.1 2Host: <BucketName>.bj.bcebos.com 3Date: <Date> 4Authorization: <AuthorizationString> 5Content-Length: <ContentLength> -
Request headers
No special request headers
- Request parameters
| Name | Types | Parameter location | Description | Whether required |
|---|---|---|---|---|
| uploadId | String | Query | ID of the MultipartUpload | Yes |
Response
-
Response headers
No special headers
-
Response element
None
Note
If some Parts are still being uploaded when a Multipart Upload is terminated, these Parts cannot be deleted by this process. Therefore, for concurrent access scenarios, the Abort Multipart Upload API should be called multiple times to completely release the occupied space on BOS.
Example
-
Request example
Plain Text1DELETE /ObjectName?uploadId=a44cc9bab11cbd156984767aad637851 HTTP/1.1 2Host: BucketName.bj.bcebos.com 3Date: Wed, 06 Apr 2016 06:34:40 GMT 4Authorization: AuthorizationString -
Response example
Plain Text1HTTP/1.1 204 No Content 2x-bce-request-id: 4db2b34d-654d-4d8a-b49b-3049ca786409 3Date: Wed, 06 Apr 2016 06:34:40 GMT 4Content-Length: 0 5Connection: keep-alive 6Server: BceBos
