Toggle menu

sessionExists

Given an authSessionId will return true or false if the session exists.

Parameters

NameTypeDescription
authSessionIdString, requiredThe session to test for
endIfExistsBoolean, optionalDefaults to false. If set true will end the session

Response Fields

NameTypeDescription
existsBooleantrue 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

Share this page

Facebook icon Twitter icon email icon

Print

print icon