session.org.switch

The session.org.switch command is used to switch a session between organizations.

TR50 Request


                        {
  "cmd": {
    "command": "session.org.switch",
    "params": {
      "key": "SYSTEM"
    }
  }
}
      

Request Parameters

Name

Type

Required

Description

key

String

Yes

The organization key.

TR50 Response

If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.


                        {
  "cmd": {
    "success": true
  }
}