COS supports batch deletion of multiple objects. You can delete objects in batches via the console, APIs, and SDKs.
By default, when the deletion task is completed, a null will be returned. If an error occurs, an error message will be returned.
A maximum of 1,000 objects can be deleted in a single request. To delete more objects, split the list and send the request separately.
You can delete multiple objects in batches in the COS Console. For more information, see Deleting an Object in Console Guide.
You can use the REST API directly to initiate a multiple objects deleting request. For more information, see DELETE Multiple Objects.
You can directly call the multiple objects deleting method in the SDK. For more information, see the SDK documentation for the corresponding programming language below: