Session API
The Session APIs enable you to manage the sessions of existing users.
Managing login
Use this API to authenticate and login a user.
Request Parameters
username
-
Username of the user.
- Datatype
-
string
password
-
Password of the user.
- Datatype
-
string
rememberme
-
A flag to remember the user session. The system default is
false
.- Datatype
-
boolean
Request Example
cURL
curl -X POST --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/json' --header 'X-Requested-By: ThoughtSpot' -d 'username=test&password=fhfh2323bbn&rememberme=false' 'https://<instance>/callosum/v1/tspublic/v1/session/login'
Request URL
https://<instance>/callosum/v1/tspublic/v1/session/login
Managing logout
Use this API to log a current user out of an existing session. The user details are captured from the active user session.
Was this page helpful?Give us feedback!