RustFS Bucket Deletion
This guide explains how to delete buckets using the RustFS UI, mc (MinIO Client), or API.
Warning: Deleting a bucket is irreversible and may break applications relying on it. Ensure you have backed up any necessary data before proceeding.
Using the RustFS UI
- Log in to the RustFS Console.
- On the homepage, select the bucket you want to delete.
- On the far right, select the Delete button.
- In the popup dialog, click Confirm to complete bucket deletion.

Using mc
See the mc Usage Guide for installation and configuration.
Delete a bucket:
bash
# delete bucket
mc rb rustfs/bucket-creation-by-mc
Removed `rustfs/bucket-creation-by-mc` successfully.
# confirm bucket deletion
mc ls rustfs/bucket-creation-by-mc
mc: <ERROR> Unable to list folder. Bucket `bucket-creation-by-mc` does not exist.Using the API
Delete a bucket via API:
DELETE /{bucketName} HTTP/1.1Request example:
bash
curl --location --request DELETE 'http://12.34.56.78:9000/bucket-creation-by-api' \
--header 'X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' \
--header 'X-Amz-Date: 20250801T024406Z' \
--header 'Authorization: AWS4-HMAC-SHA256 Credential=H4xcBZKQfvJjEnk3zp1N/20250801/cn-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=d0f6addf09fffd7eef75191e9d3209bb7188e6b004e9707238fc60ad7033edae'Verify the bucket deletion in the RustFS Console.