Assignment
Modify a host assignment.
Path parameters
providerIdinteger · int32Required
The ID of the Provider server on which the target Host resides.
vmIdstringRequired
The ID of the host VM.
Query parameters
siteIdinteger · int32Optional
Site ID.
Body
Update persistence configuration of the VDI Host
userstring | nullableOptional
The name of the user account to which to assign the Host.
devicestring | nullableOptional
The name of the device to which to assign the Host.
sidstring | nullableOptional
The SID of the user account to which to assign the Host.
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
put
PUT /api/Provider/{providerId}/VM/{vmId}/VDIHost/Assignment HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 44
{
"user": "text",
"device": "text",
"sid": "text"
}
No content
Remove a host assignment.
Path parameters
providerIdinteger · int32Required
The ID of the Provider server on which the target Host resides.
vmIdstringRequired
The ID of the host VM.
Query parameters
siteIdinteger · int32Optional
Site ID.
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
delete
DELETE /api/Provider/{providerId}/VM/{vmId}/VDIHost/Assignment HTTP/1.1
Host:
Accept: */*
No content
Was this helpful?