switchInstance
Testing Env
https://{{host}}:8092
Testing Env
https://{{host}}:8092
POST
/json-rpc/instance/switchto
Websocket
Switch to a given instance and subseqnnet commands will be applied to the instance unless the instance is overwritten within a command.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://localhost:8092/json-rpc/instance/switchto' \
--header 'Content-Type: application/json' \
--data-raw '{
"command": "instance",
"subcommand": "switchTo",
"instance": 0,
"tan": 4711
}'
Response Response Example
Success
{
"command": "instance-switchTo",
"info": {
"instance": 0
},
"success": true,
"tan": 4711
}
Request
Body Params application/json