Delete Bucket
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.
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.