Deleting Buckets
Application Scenario
You can delete unwanted buckets to free up the quota of buckets. Make sure that a bucket is emptied before you delete it.
An empty bucket must meet the following requirements:
- There is no object or any historical version of an object in the bucket.
- There is no unmerged multipart upload task in the bucket, that is, there is no fragment in the bucket.
- If versioning is enabled for the bucket, ensure that all historical versions and versions with the Delete Marker (which are also considered as historical versions) have been deleted.
- The name of a deleted bucket can be reused at least 30 minutes after the deletion.
How to Use This Function
You can use OBS Console, APIs, SDKs, OBS Browser+, or obsutil to delete buckets.
| Tool | Reference |
|---|---|
| OBS Console | |
| SDKs | OBS supports software development kits (SDKs) in mainstream programming languages. For details, see the developer guide on the SDK Overview page. |
| APIs | |
| OBS Browser+ | - |
| obsutil |
Causes of Bucket Deletion Failures and Solutions
For details, see Failure in Deleting a Bucket.
Last Article: Managing Bucket Quotas
Next Article: Replicating Configurations from an Existing Bucket
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.