1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 09:02:08 +02:00
tldr/pages/common/aws-s3-rb.md
Quentin Klein 574172d77d
aws-s3-rb: add page (#10871)
* aws-s3: add rb page

* change tense of examples

* Remove trailing whitespace

* Update pages/common/aws-s3-rb.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-10-15 15:45:26 +08:00

12 lines
337 B
Markdown

# aws s3 rb
> Delete an empty S3 bucket.
> More information: <https://docs.aws.amazon.com/cli/latest/reference/s3/rb.html>.
- Delete an empty S3 bucket:
`aws s3 rb s3://{{bucket_name}}`
- Force delete an S3 bucket and its non-versioned objects (will crash if versioned objects are present):
`aws s3 rb s3://{{bucket_name}} --force`