Cancels a running recycle bin job.
Operation description
-
Only General-purpose NAS file systems support this operation.
-
Only jobs in the Running state can be canceled. Jobs in a terminal state (PartialSuccess, Success, Fail, or Cancelled) cannot be canceled.
-
If you cancel a running permanent-deletion job, files that are already permanently deleted cannot be restored.
-
If you cancel a running file-restoration job, restored files remain queryable in the file system, and unrestored files remain in the recycle bin.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:CancelRecycleBinJob |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
Yes |
The job ID. |
rb-15****ed-r-1625****2441 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
98696EF0-1607-4E9D-B01D-F20930B6**** |
Examples
Success response
JSON format
{
"RequestId": "98696EF0-1607-4E9D-B01D-F20930B6****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalCharacters | The parameter contains illegal characters. | The parameter contains illegal characters. |
| 400 | MissingJobId | JobId is mandatory for this action. | JobId is mandatory for this action. |
| 403 | OperationDenied.Conflict | The operation is in conflict with (% JobId). Please try again later. | The operation is in conflict with (% JobId). Please try again later. |
| 404 | InvalidJobId.NotFound | The specified JobId(%JobId) does not exist. | The specified JobId (%JobId) does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.