Abort Multipart Upload

You can perform this operation to abort a multipart upload. After the request is sent, parts associated to the multipart upload cannot be uploaded or listed.

Request Syntax

DELETE /ObjectName?uploadId=uplaodID HTTP/1.1
Host: bucketname.obs.cn-north-1.myhwclouds.com
Date: date
Authorization: auth

Request Parameters

This request uses one parameter to specify the ID of the multipart upload to be completed. Table 1 describes the parameter.

Table 1 Request parameter

Parameter

Description

Required or Optional

uploadId

Indicates the ID of the multipart upload to be aborted.

Type: string

Required

Request Headers

This request uses common headers. For details about common request headers, see Common Request Headers.

Request Elements

This request involves no elements.

Response Syntax

HTTP/1.1 status_code
Date: date

Response Headers

This response uses common headers. For details about common response headers, see Common Response Headers.

Response Elements

This response involves no elements.

Error Responses

  • If an AK or signature is invalid, OBS returns status code 403 Forbidden and error code AccessDenied.
  • If the requested bucket does not exist, OBS returns status code 404 Not Found and error code NoSuchBucket.
  • If the requester is neither the initiator of a multipart upload nor the bucket owner, OBS returns status code 403 Forbidden and error code AccessDenied.
  • If the operation succeeded, OBS returns status code 204 No Content.

For details about other error responses, see Table 1.

Registration