Create
DescriptionCreates user desktop mapping for user belonging to a specified Pool that belongs to the specified org. If org is not provided, it will use the org from the authentication context.
Request
URLURL
Request Body
{
"entitlementId": "ent-id-12345",
"hdcId": "string",
"orgId": "0123456789",
"poolId": "pool-id-12345",
"templateId": "string",
"userId": "string",
"userName": "string",
"userPrincipalName": "john.smith@horizonv2.onmicrosof.com",
"vmId": "string"
}
Template Id
User principal name from identity provider
Entitlement user belongs to
HDC Id
User Name
User Id
Org ID that owns the entitlement user belongs to
Pool user belongs to
Dedicated VM for the user
Time the mapping was modified
Location that is mapped with Org Id
User desktop mapping ID
Time the mapping was created
Authentication
Response
Response BodyResponse Body
{
"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"
}
Template Id
User principal name from identity provider
Entitlement user belongs to
HDC Id
User Name
User Id
Org ID that owns the entitlement user belongs to
Pool user belongs to
Dedicated VM for the user
Time the mapping was modified
Location that is mapped with Org Id
User desktop mapping ID
Time the mapping was created
Errors
Not Found
Code Samples
Code Samples
cURL Command
Vendor Extensions
x-codegen-request-body-name: userDesktopMapping