session.end

The session.end command is used to close a session.

All users can end their own session. Org admins can also end the session of anything within their org. If no parameters are specified then the current session will be ended.

TR50 Request

{
    "cmd": {
        "command": "session.end",
        "params": {
            "id": "53398c17d15a702a78000003"
        }
    }
}

Request Parameters

Name Type Required Description
id String   The ID of the session to end.
ref String   Ref is another session identifier of the session to end.

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
  }
}