[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Get All Mappings By User
DescriptionUserId is a must
Request
URLURL
https://cloud.vmwarehorizon.com/portal/v1/report/dedicated-desktops
Query Parameters
Query Parameters
string
org_id
Optional
org_id
string
userId
Required
userId
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK returns
array
of
UserDesktopMapping
of type */*
{
"createdAt": "string",
"disabled": false,
"entitlementId": "ent-id-12345",
"hdcId": "string",
"id": "string",
"location": "US",
"orgId": "0123456789",
"poolId": "pool-id-12345",
"templateId": "string",
"updatedAt": "string",
"userId": "string",
"userName": "string",
"userPrincipalName": "john.smith@horizonv2.onmicrosof.com",
"vmId": "string"
}
string
templateId
Required
Template Id
string
userPrincipalName
Required
User principal name from identity provider
string
entitlementId
Required
Entitlement user belongs to
string
hdcId
Required
HDC Id
string
userName
Required
User Name
string
userId
Required
User Id
string
orgId
Required
Org ID that owns the entitlement user belongs to
string
poolId
Required
Pool user belongs to
string
vmId
Required
Dedicated VM for the user
string as date-time
updatedAt
Optional
Time the mapping was modified
string
location
Optional
Location that is mapped with Org Id
string
id
Optional
User desktop mapping ID
boolean
disabled
Optional
string as date-time
createdAt
Optional
Time the mapping was created
Errors
Code Samples
Code Samples
cURL Command
curl https://cloud.vmwarehorizon.com/portal/v1/report/dedicated-desktops?userId=string
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen