Cancel Withdraw Task
API-v2task::withdraw::cancel
Use the task::withdraw::cancel method to cancel the withdrawal preparation task.
| Parameter | Type | Required | Description |
|---|---|---|---|
| task_id | integer | ✓ | The identifying number returned when initiating the withdraw process. |
| Parameter | Type | Description |
|---|---|---|
| result | string | Indicates task cancellation was successful. |
| error | string | An error message to explain what went wrong. |
| error_path | string | An indicator of the class or function which returned the error. |
| error_trace | string | An indicator of where in the source code the error was thrown. |
| error_type | string | An enumerated value for the returned error. |
| error_data | string | The input task ID which resulted in the error. |
task::withdraw::cancel
POST
task::withdraw::cancel{
"userpass": "RPC_UserP@SSW0RD",
"method": "task::withdraw::cancel",
"mmrpc": "2.0",
"params": {
"task_id": 6
}
}
| Parameter | Type | Description |
|---|---|---|
| NoSuchTask | string | The specified task was not found or expired. |
| TaskFinished | string | The task is already finished and cannot be canceled. |