updateSession
This method is to activate or close a session. See Sessions for details.
Parameters
Name
Type
Required
Description
status
string
yes
Must be "active" or "close".
Result
The result is a session object representing the updated session.
Examples
Activate a session
{
"id": 1,
"jsonrpc": "2.0",
"method": "updateSession",
"params": {
"cortexToken": "xxx",
"session": "38fef6d7-979b-420b-aa25-dd60ef5edc02",
"status": "active"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"id": "38fef6d7-979b-420b-aa25-dd60ef5edc02",
"status":"activated",
...
}
}Close a session
Last updated