Cloud Object Storage(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.
Note:
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.
Directions
Using COS console
Delete multiple objects in batches in the COS console. For more information, see Deleting Objects in Console Guide.
Using REST API
Use the REST API to initiate a multiple objects deleting request. For more information, see DELETE Multiple Objects.
Using SDKs
Directly call the multiple objects deleting method in the SDK. For more information, see the SDK documentation for the corresponding programming language below:
Was this page helpful?