Deleting a Single Object

Last updated: 2021-06-29 17:22:15

    Use Cases

    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: