DELETE Bucket

The DELETE Bucket operation deletes the bucket named in the URI. Note that all objects (including all object versions and delete markers) in the bucket must be deleted before the bucket itself can be deleted.

Syntax Example

DELETE https://appliance:443/s3/v1/export/share_mount_point_path/bucketname
      

Request Parameters

This implementation of the DELETE Bucket operation does not support the use of request parameters.

Request Headers

The DELETE Bucket operation uses only request headers that are common to all operations. For more information, see table "Common Supported Request Headers" in Supported Common Request Headers.

Request Elements

This implementation of the DELETE Bucket operation does not support the use of request elements.

Response Headers

The DELETE Bucket operation uses only response headers that are common to most responses. For more information, see table "Supported Response Headers" in Supported Common Response Headers.

Response Elements

This implementation of the DELETE Bucket does not return response elements.

Expected HTTP Response Code

204 No Content

Error Response Code

The DELETE Bucket API does not return special errors. For general information about S3 errors and a list of error codes, see S3 Client Error Handling Reference.

Example

DELETE /
HTTP/1.1 204 No Content