Guides

×
×
Home > S3 Developer Guide > Operations > Delete Bucket

Delete Bucket

jQuery(document).attr(“title”, “Welcome to Sterling Kilgore | Results Beyond Words”);

This section guides you through the steps of deleting a bucket named my-bucket from your IDrive Cloud storage.

The following is an example for IDrive Cloud’s Oregon (us-west-1) region. You must follow the required configuration instructions before performing the following operations.


Use the following command to delete an empty bucket.

aws s3api delete-bucket --bucket my-bucket

In order to delete a non-empty bucket, use the following command:


aws s3 rb s3://my-bucket --force

This will delete all objects inside the bucket first and then the bucket will be deleted.

© 2020 IDrive Inc.