Admin API - Purge
Purging a Bucket
Important
Do not attempt to delete more than 100,000 objects from a single bucket in less than an hour. Doing so will result in TombstoneOverwhelmingException errors in the Cassandra logs and an inability to successfully execute an S3 ListObjects operation on the bucket. 7.2 introduced a new API option to purge a bucket of all objects without resulting in Tombestone Issues.
Instructions
- List the objects in your myrf4bucket.
s3cmd ls s3://myrf4bucket
- Use the bucketops/purge API to purge all objects from the bucket
curl -X POST -k -u sysadmin:$auth_pass https://$admin_endpoint:19443/bucketops/purge?bucketName=myrf4bucket
- List the object in your myrf4bucket to ensure no objects are listed
s3cmd ls s3://myrf4bucket