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

Deassign User Desktop Mapping

Description

Deassign user desktop mapping by given templateId and vmId

Request

Request

URL

URL


post
https://cloud.vmwarehorizon.com/portal/v1/userdesktopmapping/deassign
Copy

Query Parameters

Query Parameters

string
org_id Optional

org_id


Request Body

Request Body

UserDesktopMappingDeassignRequest of mimetype application/json Required

userDesktopMappingDeassignRequest

{}
string
templateId Required

Template Id


string
entitlementId Optional

string
poolId Optional

Pool ID


string
userId Optional

User Id


string
vmId Optional

Dedicated VM for the user

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns VmUser of type */*
{
	"clientId": "string",
	"sessionStatus": "string",
	"sessionType": "APPLICATION",
	"templateType": "APP_CAPTURE_STUDIO",
	"userId": "string",
	"username": "string",
	"vmId": "string"
}
string
clientId Optional

string
sessionStatus Optional

string
sessionType Optional

Possible values are: APPLICATIONDESKTOP


string
templateType Optional

Possible values are: APP_CAPTURE_STUDIODEDICATEDFLOATINGMULTI_SESSIONRDSHWVD


string
userId Optional

string
username Optional

string
vmId Optional

Foreign key: ID of InvVMs

Errors

Errors

ErrorResponse
401

Unauthorized


ErrorResponse
403

Forbidden


ErrorResponse
404

Not found

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"poolId":"pool-id-12345"}' https://cloud.vmwarehorizon.com/portal/v1/userdesktopmapping/deassign
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: userDesktopMappingDeassignRequest


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

Was this page helpful?