1-800-833-1132 : 1-303-449-6400


Spectra BlackPearl Converged Storage System : Spectra S3 Bucket, Object, and Job Operations : Spectra S3 Bucket Operations : Delete Bucket - Spectra S3

Delete Bucket - Spectra S3
Description
Delete a Spectra S3 bucket. All objects must be deleted prior to deleting a bucket or the force parameter must be specified. For tape partitions, the bucket is marked for deletion, but may not be deleted from tape until the space is needed.
Also see Delete Bucket.
Requests
Syntax
DELETE http[s]://{datapathDNSname}/_rest_/bucket/{bucket_name}[?force]
Request Parameters 
Responses
Response Elements
The operation returns status only.
Notable status codes:
§
§
§
409: Conflict (force was not specified, bucket is not empty)
Example
Sample Request
This request deletes the bucket named “bucket1”.
DELETE http://blackpearl-hostname/_rest_/bucket/bucket1 HTTP/1.1
Sample Response
HTTP/1.1 204 No Content