--- title: "Delete a Bucket" slug: "delete-a-bucket-s3cmd-tg" updated: 2026-10-27T17:23:14Z published: 2026-10-27T17:23:14Z canonical: "docs.vastdata.com/delete-a-bucket-s3cmd-tg" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # Delete a Bucket ```plaintext s3cmd [-c CONFIGFILE] rb s3://BUCKET ``` > [!NOTE] > Note > > This command can be used with the `--recursive` flag which removes the bucket with all of its contents. This form of the command calls the *DeleteObjects* AWS S3 API which is supported from VAST Cluster 3.2.0. | CONFIGFILE | Configuration file. Defaults to $HOME/.s3cfg | | --- | --- | | BUCKET | Name of bucket | ## Example Delete bucket *bucket1*. ```plaintext $ s3cmd -c vast.s3cfg rb s3://bucket1 ```