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.
You can delete an object in the COS Console. For more information, see Deleting an Object in Console Guide.
You can use the REST API directly to initiate a single object deleting request. For more information, see DELETE Object.
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: