Cloud Enterprise Object Storage REST API

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

All parameters are required unless otherwise stated.

Field Description Type Notes
Delete
Quiet String
Object     0-* Elements
Key String
VersionId String

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
Error     0-* Elements
Key Key of the object String
Code Status code for the result of the failed delete String
Message Error description String