Cancel Tendermint Token Activation Task
API-v2task::enable_tendermint_token::cancel
Use this method to abort a Tendermint-token activation that is still pending or in progress. Once cancelled, the task will transition to a final Cancelled state and will be removed from memory.
| Parameter | Type | Required | Description |
|---|---|---|---|
| task_id | integer | ✓ | The identifier returned by task::enable_tendermint_token::init. |
Tendermint Token Activation (cancel)
POST
task::enable_tendermint_token::cancel{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "task::enable_tendermint_token::cancel",
"params": {
"task_id": 5
},
"id": 4
}
| Parameter | Type | Description |
|---|---|---|
| status | string | Task status after the cancellation attempt (Cancelled on success). |
| Parameter | Type | Description |
|---|---|---|
| error | string | Human-readable reason the cancellation failed. |
| error_path | string | Internal code path that produced the error (debugging aid). |
| error_trace | string | Trace fragment indicating where the error originated. |
| error_type | string | Enumerated identifier (e.g., TaskFinished, NoSuchTask). |
| error_data | mixed | Contextual data associated with the error (commonly the task_id). |