tencent cloud

All product documents
Cloud Object Storage
Deleting a Bucket
Last updated: 2024-03-25 15:28:24
Deleting a Bucket
Last updated: 2024-03-25 15:28:24
You can delete a bucket using the console, APIs, tools, or SDKs.
Note:
A bucket cannot be recovered once deleted.

Restrictions

Only empty buckets can be deleted. If there are still objects or incomplete multipart uploads in a bucket, its deletion will fail. Make sure that there are no objects in the bucket before deleting it. For more information, see Emptying a Bucket.
Before deleting a bucket, make sure that the current identity has been granted the permission to delete it and that the correct Bucket and Region parameters are passed in.

Directions

Using COS console

Delete a bucket in the COS console. For more information, see Deleting a Bucket in Console Guide.

Using tools

Use tools such as COSBrowser and COSCMD to delete a bucket. For more information, see Tool Overview.

Using REST APIs

Use the REST API to initiate a bucket deleting request. For more information, see DELETE Bucket in API documentation.

Using SDKs

Directly call the bucket deleting method in the SDK. For more information, see the SDK documentation for the corresponding programming language below:
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon