DeleteBucket
Deletes the bucket. All objects including all object versions and delete markers in the bucket must be deleted before the bucket itself can be deleted.
Request Syntax
DELETE /bucket HTTP/1.1 Host: msdps3.server:8443
Request Parameters
Bucket
Name of the bucket to be deleted.
Required: Yes
Type: String
Response Syntax
HTTP/1.1 204
Possible Error Response
Success
HTTP status code 204.
AccessDenied
Access Denied.
HTTP status code 403.
NoSuchBucket
The specified bucket does not exist.
HTTP status code 404.
BucketNotEmpty
The bucket you tried to delete is not empty.
HTTP status code 409.
InternalError
Request failed because of an internal server error.
HTTP status code 500.