Permanently deletes all files and folders in the recycle bin.
Try it now
Test
RAM authorization
Request syntax
POST /v2/recyclebin/clear HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| domain_id |
string |
Yes |
||
| body |
object |
No |
The request body. |
|
| drive_id |
string |
Yes |
The drive ID. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| domain_id |
string |
The domain ID. |
bj1 |
| drive_id |
string |
The drive ID. |
1 |
| async_task_id |
string |
The asynchronous task ID. Call the GetAsyncTask operation with this ID to query the task's status. |
13ebd3a24dba4166b1527add676ef2866051b4d5dele16 |
Examples
Success response
JSON format
{
"domain_id": "bj1",
"drive_id": "1",
"async_task_id": "13ebd3a24dba4166b1527add676ef2866051b4d5dele16"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.