Go to main content

Oracle® ZFS Storage Appliance Object API Guide for Amazon S3 Service Support, Release OS8.8.0

Exit Print View

Updated: January 2019
 
 

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. For more details about this operation, see the following:

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 Figure 7, Table 7, Common Supported 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 Figure 9, Table 9, Supported 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