[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

User'S Ssessions

Description

Get all existing sessions which was launched by the user.

Request

Request

URL

URL


get
https://cloud.vmwarehorizon.com/portal/v2/users/sessions
Copy

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response 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: APPLICATIONDESKTOP


array of Protocol
protocols Required

List of supported protocols


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

Errors

ErrorResponse
401

Unauthorized


ErrorResponse
403

Forbidden


ErrorResponse
404

Not Found


ErrorResponse
500

Unexpected internal server error

Code Samples

Code Samples

cURL Command

curl https://cloud.vmwarehorizon.com/portal/v2/users/sessions


[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Feedback

Was this page helpful?