Given an authSessionId will return true or false if the session exists.
Parameters
Name | Type | Description |
---|---|---|
authSessionId | String, required | The session to test for |
endIfExists | Boolean, optional | Defaults to false. If set true will end the session |
Response Fields
Name | Type | Description |
---|---|---|
exists | Boolean | true if the session exists |
Example Request
{
"id":"1",
"method":"sessionexists",
"params":{
"authSessionId": "f5ce1bf9-26bb-4f93-b5c7-2c8e575f1f8c"
},
"jsonrpc":"2.0"
}
Example Response
{
"id": "1",
"jsonrpc": "2.0",
"result": {
"result": {
"exists": false
}
}
}
Last modified on June 27, 2023