abortUpload method

Aborts an upload and deletes from Object Storage all object parts that have been saved. If the abort upload request was received during the upload of any part, no result is guaranteed.

We recommend that you get a list of parts after aborting the upload and, if it is not empty, resend the request. Abort requests should be sent until the list of parts is returned empty.

Request

DELETE /{bucket}/{key}?uploadId=UploadId HTTP/1.1

Path parameters

Parameter Description
bucket Name of the bucket.
key Object key.

Query parameters

Parameter Description
uploadId ID of the multipart upload returned by Object Storage at the start.

Headers

In a request, use the necessary common request headers.

Response

Headers

A response can only contain common response headers.

Response codes

For a list of possible responses, see Responses.

Additionally, Object Storage may return errors described in the table below.

Error Description HTTP code
NoSuchUpload The specified upload does not exist. The specified upload ID might be incorrect or the upload was completed or deleted. 404 Not Found