Get Current Sessions
List all sessions for current user
Request
URI
GET
https://{api_host}/cloudapi/1.0.0/sessions
COPY
Query Parameters
integer
page
Required
Page to fetch, zero offset.
integer
pageSize
Required
Results per page to fetch.
Responses
200
OK
Returns Sessions of type(s) application/json;version=38.1
This response body class contains all of the following: Page , InlineSessions1
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"id": "urn:vcloud:session:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"site": {
"name": "string",
"id": "string"
},
"user": {
"name": "string",
"id": "string"
},
"org": {
"name": "string",
"id": "string"
},
"operatingOrg": {
"name": "string",
"id": "string"
},
"location": "string",
"roles": [
"string"
],
"roleRefs": [
{
"name": "string",
"id": "string"
}
],
"sessionIdleTimeoutMinutes": 0
}
]
}
Availability
Added in 33.0
Sessions Operations
GET
Get Accessible Locations
GET
Get Current Session
GET
Get Current Sessions
GET
Get Session
GET
Get Token
POST
Login
DELETE
Logout
DELETE
Logout Current Session
POST
Provider Login