Session API
The Session APIs enable you to manage the sessions of existing users.
Managing login
Use this API to authenticate and log in a user.
Request Parameters
Form Parameter | Data Type | Description |
---|---|---|
|
string |
Username of the user. |
|
string |
Password of the user. |
|
boolean |
A flag to remember the user session. The system default is false. |
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!