Deleting a Single Object
Last updated: 2019-10-15 20:48:10PDF
COS supports deleting one or multiple objects directly. To delete one object, you only need to provide its object key and call an API request to delete it.
Via the COS Console
You can delete an object in the COS Console. For more information, see Deleting an Object in Console Guide.
Via REST API
You can use the REST API directly to initiate a single object deleting request. For more information, see DELETE Object.
Via the SDK
You can directly call the single object deleting method in the SDK. For more information, see the SDK documentation for the corresponding programming language below: