Deletes the bucket named in the URI
Host Style: http://bucketname.ns1.emc.com/
Path Style: http://ns1.emc.com/bucketname
x-amz-date | optional | Timestamp of the request added by the requester. Example: Tue, 03 Sept 2013 12:00:00 GMT. If the Authorization header is specified, you must specify either the x-amz-date or the Date header. If both the headers are specified, the value of x-amz-date header is chosen. |
Authorization | required | Information needed to authenticate requests. |
x-emc-empty-bucket | optional | If true creates a background task to delete items in the bucket on behalf of the user before deleting the bucket. Progress can be monitored through empty-bucket-status |
The following conditions must be met in order to call this operation.
Only authenticated users can delete a 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 URL: bucketname.ns1.emc.com).
Namespace corresponding to this bucket should exist (for example, ns1).
The bucket must by empty for it to be deleted successfully. All objects, object versions and delete markers, belonging to the bucket, must be deleted first before the bucket can be deleted.
Including the optional x-emc-empty-bucket: true header will initiate a background task that will empty the bucket on your behalf before deleting it. See the Data Access Guide for more information.
No Request Payload
Response indicating Success or Failure for this operation. If x-emc-empty-bucket:true 202 Accepted will be returned