[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
User'S Ssessions
DescriptionGet all existing sessions which was launched by the user.
Request
Operation doesn't accept any path, query or header parameters.
URL
https://cloud.vmwarehorizon.com/portal/v1/users/sessions
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
array
of
UserSessionDTO
of type application/json
Returns list of user sessions.
{
"id": "abcd-edff",
"sessionId": "ent-id-12345",
"sessionType": "APPLICATION"
}
string
sessionType
Required
Session type
Possible values are: APPLICATION , DESKTOP
string
id
Optional
ID
string
originId
Optional
Identifier for the environment in which the session is running
boolean
protocolMatch
Optional
Boolean, true if there is one or more protocols available that this client can use
string
sessionId
Optional
session ID
boolean
hasRemotableAssets
Optional
Whether this remote session has assets that can be remotable. This helps the client decide whether to automatically reconnect to the session.
Errors
ErrorResponse
401
Unauthorized
ErrorResponse
403
Forbidden
ErrorResponse
404
Not Found
ErrorResponse
500
Unexpected internal server error
Code Samples
cURL Command
curl https://cloud.vmwarehorizon.com/portal/v1/users/sessions
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
On This Page
Portal Operations
post
post
get
get
get
post
post
get
get