< Previous | Contents | Next >

Deleting a bucket

You use the HTTP DELETE method to delete a bucket. To delete a bucket, you need to be the bucket owner.

You can delete a bucket only while it’s empty. If you try to delete a bucket that contains any objects, HCP returns a 409 (Conflict) status code and does not delete the bucket.


Request lineRequest headersResponse headersHTTP status codesExample: Deleting a bucket