On this page

latest contributor to this doc

Last Edit:

@smk762

Cancel Trezor Initialization Task

API-v2task::init_trezor::cancel

Use the task::init_trezor::cancel method to cancel the initialisation task.

ParameterTypeRequiredDescription
task_idintegerThe identifying number returned when initiating the initialisation process.

ParameterTypeDescription
resultstringReturns with value success when successful, otherwise returns the error values below
errorstringDescription of the error
error_pathstringUsed for debugging. A reference to the function in code base which returned the error
error_tracestringUsed for debugging. A trace of lines of code which led to the returned error
error_typestringAn enumerated error identifier to indicate the category of error
error_datastringAdditonal context for the error type

Cancel Trezor Initialization Task

POST
task::init_trezor::cancel
{
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "method": "task::init_trezor::cancel",
  "params": {
    "task_id": 0
  }
}