HCP Tenant Management Help


Request line (DELETE object abort multipart upload)

Depending on whether the bucket name is included in the hostname in the S3 compatible request, a request to abort a multipart upload has either of these formats:

With the bucket name included in the hostname:

DELETE /object-name?uploadId=upload-id HTTP/1.1

With the bucket name following the hostname:

DELETE /bucket-name/object-name?uploadId=upload-id HTTP/1.1

The uploadId query parameter is case sensitive.

Note:  HCP ignores query parameters it doesn't recognize. Therefore, if you use the wrong case for the uploadId query parameter in a request to abort a multipart upload, the request becomes a DELETE request for the object named in the request.

If the named object exists, HCP deletes it and returns a 204 (No Content) status code, indicating that the request was successful. HCP also returns a 204 status code if the named object does not exist. Because HCP returns a 204 status code for a successful abort of a multipart upload, you cannot tell from the status code alone whether a request to abort a multipart upload had the intended result.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.