- 12 Feb 2025
- 3 Minutes to read
- Print
- PDF
Bucket Management: Renaming and Deleting
- Updated on 12 Feb 2025
- 3 Minutes to read
- Print
- PDF
Renaming a Bucket
- Click
to access options for the bucket you want to rename.
- Click Rename. In this example, we will rename widget-schematics.
- Enter a new bucket name.
- Click Rename Bucket.
The bucket name is changed and displayed in the Bucket list. For examole:

Deleting a Bucket
A bucket should be empty before you can delete it.
This section describes:
- Deleting a Standard-Sized Bucket
- Deleting a Large Bucket
- Deleting an Object Locked Bucket
Deleting a Standard-Sized Bucket
- Click
to access options for the bucket you want to delete.
- Click Delete. In this example, we will delete widget-with-object-lock.
- A message asks you to confirm that you want to delete the bucket. Do so cautiously because deleting a bucket removes all objects stored in the bucket.
Type the name of the bucket to proceed.
- Click Delete if you are sure you want to delete the bucket (otherwise, click Cancel).
- If there are still files in the bucket, a message requests that you click Delete if you want to delete all of the files.
If the multi-user authentication feature has been set for your account, a bucket deletion triggers a notification to a security contact who will need to approve the deletion. In this case, the Delete option for the bucket changes to Awaiting Deletion Approval. Once approved, the bucket will be deleted.

Deleting a Large Bucket
If a bucket is large (with numerous objects), the delete request may time out in the browser before the operation completes. One solution is to use a third-party application, such as Postman, to send the delete request. Another option is to create a Lifecycle rule to remove objects and reduce the bucket to a more manageable size. Then, the bucket can be deleted in the Console. The following describes the second option.
- Click
to access options for the bucket you want to delete.
- Click Settings.
- Click the Lifecycle tab.
- Click Create New Rule.
- Enter a name for the Lifecycle rule.
- Choose to apply the rule to all objects in the bucket.
- Select Expire current version of objects and enter 1 for the number of days after object creation.
- Select Permanently delete noncurrent versions of objects and enter 1 for the number of days after an object becomes noncurrent.
- Scroll down and click Create to save the Lifecycle rule configuration.
After the rule has had time to process objects in the bucket, you will see the bucket utilization drop. This will enable you to delete the bucket from the Console.
Deleting an Object Locked Bucket
You cannot delete a bucket that has objects under retention. While you wait for the retention period to expire, you can set up a Lifecycle rule to start cleaning out the bucket by removing the objects that are no longer under retention. To set up a Lifecycle rule, refer to the procedure in Deleting a Large Bucket above.
If you are using a backup application, make sure all references to the bucket are removed from the application so that the retention period is not continually reset while the application communicates with the bucket.
If you are unsure of how long objects are under retention in the bucket, Wasabi Support created a Python script that can run through the bucket and determine the longest retention period of all objects.