# Gsutils

## TL;DR

```sh
# delete a bucket and all its contents
gsutil rm -r gs://${BUCKET_NAME}

# delete a bucket only if empty
gsutil rb gs://${BUCKET_NAME}
```

## Further readings

- [Deleting buckets]

[deleting buckets]: https://cloud.google.com/storage/docs/deleting-buckets
