All Products
Search
Document Center

Drive and Photo Service:ClearRecyclebin

Last Updated:Aug 04, 2025

Empties the recycle bin.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /v2/recyclebin/clear HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
bodyobjectNo

The request parameters.

drive_idstringNo

The drive ID.

1

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

domain_idstring

The domain ID.

bj1
drive_idstring

The drive ID.

1
async_task_idstring

The ID of the asynchronous task.

You can call the GetAsyncTask operation to query the information about the asynchronous task based on the task ID.

13ebd3a24dba4166b1527add676ef2866051b4d5dele16

Examples

Sample success responses

JSONformat

{
  "domain_id": "bj1",
  "drive_id": 1,
  "async_task_id": "13ebd3a24dba4166b1527add676ef2866051b4d5dele16"
}

Error codes

For a list of error codes, visit the Service error codes.