You can use the DeleteBucket API of OSS to delete a bucket that you create.

Note For more information about the DeleteBucket API, see DeleteBucket.

Before deleting a bucket, you must delete all objects or object parts generated by incomplete multipart upload in the bucket. To delete all objects in a bucket, we recommend that you manage object lifecycle.

Operating methods

Operating method Description
Console Web application, which is intuitive and easy to use
ossbrowser Graphical tool, which is easy to operate
ossutil Command-line tool, which delivers good performance
Java SDK SDK demos in various languages
Python SDK
PHP SDK
Go SDK
C SDK
.NET SDK
Android SDK
iOS SDK
Node.js SDK
Ruby SDK