[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Unassign Bulk
DescriptionCreate a task to unassign users/groups from desktops/apps from multiple entitlements
Request
URLURL
https://cloud.vmwarehorizon.com/portal/v2/entitlements/unassign
Query Parameters
Query Parameters
string
org_id
Optional
org_id
Request Body
Request Body
{
"groupIds": [
"group-id-1",
"group-id-2"
],
"resourceDetails": [
{
"poolId": "pg-id-2",
"resourceId": "app-id-1"
},
{
"poolId": "pg-id-2"
}
],
"userIds": [
"user-id-3",
"user-id-4"
]
}
array of
string
groupIds
Optional
List of groups to be unassigned
array of
string
userIds
Optional
List of users to be unassigned
Authentication
This operation uses the following authentication methods.
Response
202 Accepted Response Body>
Response
201 Created Response Body>Response Body
201 Created
Returns
EntilementBulkUnassignStatusRes
of type */*
{
"jobId": "string",
"status": "string"
}
string
jobId
Optional
string
status
Optional
202 Accepted Response Body>
Response Body
202 Accepted
Returns
EntilementBulkUnassignStatusRes
of type */*
Successfully created the unassign bulk task.
{
"jobId": "string",
"status": "string"
}
string
jobId
Optional
string
status
Optional
Errors
ErrorResponse
400
Bad Request
ErrorResponse
401
Unauthorized
ErrorResponse
403
Forbidden
ErrorResponse
404
Not found
ErrorResponse
412
Precondition Failed
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"groupIds":["group-id-1","group-id-2"],"resourceDetails":[{"poolId":"pg-id-2","resourceId":"app-id-1"},{"poolId":"pg-id-2"}],"userIds":["user-id-3","user-id-4"]}' https://cloud.vmwarehorizon.com/portal/v2/entitlements/unassign
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: unassignBulkReq
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
On This Page
Portal Operations
post
delete
get
get
patch
post
post