Skip to content
Snippets Groups Projects
delete-bucket.md 421 B
Newer Older
To delete a bucket the best is:

First suspend and remove the key of the owner of the bucket:

```
radosgw-admin user suspend --uid=_owner_uid_
radosgw-admin key rm --uid=_owner_uid_ --key-type=s3 --access-key=_access_key_id_
```

Write this in a ticket for your future self with the date of the operation.

Wait a month and delete the owner with the bucket.

```
radosgw-admin user rm --uid=_owner_uid_ --purge-data
```