Object Deletion
Delete objects using the RustFS UI, rc, or the S3 API.
This guide covers object deletion.
Requirements
- Install and configure
rcbefore using the command-line workflow. - Confirm the alias, bucket, and object key before deleting an object.
Using the RustFS UI
- Log in to the RustFS Console.
- Select the bucket containing the file to be deleted.
- On the bucket page, select the file to be deleted.
- Click Delete Selected Items in the upper right corner, then click Confirm in the popup dialog.

Using rc
Delete a file:
rc object remove rustfs/my-bucket/hello.txt
rc object list rustfs/my-bucketRemoved: rustfs/my-bucket/hello.txt
✓ Removed 1 object(s).Verify the deletion in the RustFS Console.
Using the API
Delete a file via API:
DELETE /{bucketName}/{objectName} HTTP/1.1S3 requests must be signed with AWS Signature V4, so use an S3 client rather than hand-crafting headers. With the AWS CLI configured for your access keys:
aws s3api delete-object \
--bucket bucket-creation-by-api \
--key hello.txt \
--endpoint-url http://localhost:9000Verify the deletion in the RustFS Console.