S3 Multi Object Delete Operations:Delete Multi Objects

Search (SHIFT+S)




Delete Multi Objects

POST /

Deletes multiple objects from a bucket using a single HTTP request.

Request Headers

Content-Length requiredLength of the body
Content-MD5 optionalbase64-encoded 128-bit MD5 digest of the data

Prerequisites

The following conditions must be met in order to call this operation.

  • User should have WRITE permission on the bucket

  • BaseUrl used in a host-style request URL should be pre-configured using the ECS Management API or the ECS Portal (for example, emc.com in the URL: bucketname.ns1.emc.com).

  • Namespace and bucket corresponding to this object should exist


Request Payload

No Request Payload


Response Body

The result of the delete operation

Field Description Type Notes
<DeleteResult>
<Deleted>     0-* Elements
<Key> Key of the object String
<VersionId> Version Id of the object deleted String
<DeleteMarker> DeleteMarker element with a true value indicates that the request accessed a delete marker String
<DeleteMarkerVersionId> Version ID of the delete marker accessed (deleted or created) String
</Deleted>      
<Error>     0-* Elements
<Key> Key of the object String
<Code> Status code for the result of the failed delete String
<Message> Error description String
</Error>      
</DeleteResult>
Notes: