Remove an Object Storage bucket

Removes a single bucket.

Bucket objects must be removed prior to removing the bucket. While buckets containing objects may be deleted using the s3cmd command-line tool, such operations can fail if the bucket contains too many objects. The recommended way to empty large buckets is to use the S3 API to configure lifecycle policies that remove all objects, then delete the bucket.

This operation is available for convenience. It is recommended that instead you use the more fully-featured S3 API directly.

OAuth scopes


Learn more...

Click Try It! to start a request and see the response here!