Version 4.0.25.2 (latest)
Get API Session
Returns information about the current API session, such as which workspace is selected for the session.
Request
GET
/session
Datatype
Description
Request
Response
Datatype
Description
(object)
can
lock
Operations the current user is able to perform on this object
workspace_id
The id of active workspace for this session
sudo_user_id
lock
The id of the actual user in the case when this session represents one user sudo'ing as another
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Examples