How to remove a bucket
Published: Sunday, Oct 27, 2013 Last modified: Monday, Dec 9, 2024
Using the AWS cli:
$ aws s3 rm --recursive s3://example
delete: s3://example/foo.txt
delete: s3://example/test.jpg
$ aws s3 rb s3://example
remove_bucket: s3://example/
Using the better s3cmd
$ s3cmd rb --force s3://example