COS supports batch deletion of multiple objects. You can delete objects in batches using the console, API, or SDKs.
By default, when the deletion task is completed, an empty response is returned. If an error occurs, an error message is 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.
Delete multiple objects in batches in the COS console. For more information, see Deleting Objects in Console Guide.
Use the REST API to initiate a multiple objects deleting request. For more information, see DELETE Multiple Objects.
Directly call the multiple objects deleting method in the SDK. For more information, see the SDK documentation for the corresponding programming language below: