You can delete a bucket that is no longer need to save storage cost.

Warning Delete a bucket with caution because a deleted bucket cannot be restored.

Prerequisites

Before deleting a bucket, ensure that all objects (including fragments generated in multipart upload tasks) in the bucket are deleted. For more information, see Delete an object.

Delete a bucket in the OSS console

Follow these steps to delete a bucket in the OSS console:
  1. Log on to the OSS console.
  2. In the left-side bucket list, click the bucket that you want to delete, and then click the Basic Settings tab.
  3. In the Bucket Management area, click Delete Bucket.
  4. In the displayed dialog box, click OK.

Delete a bucket by using ossutil

You can also use ossutil, which is a command line tool, to delete a bucket. For more information, see Delete a bucket.

Delete a bucket by using ossbrowser

You can also use ossbrowser, which is a graphical management tool, to delete a bucket. For more information, see Quick start.

Delete a bucket by using OSS API/SDK

You can use OSS API and SDKs in different languages to delete a bucket. For more information, see the following URLs:

For SDK demos in more languages, see Introduction.