All Products
Search
Document Center

WUYING Workspace:ModifyUserEntitlement

Last Updated:Apr 08, 2024

Grants permissions on cloud desktops to end users, or revokes the permissions from the end users.

Operation description

You can modify end users only for cloud computers that are in the Running state.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
EndUserIdarrayYes

The ID of the users.

stringYes

The ID of the user.

Alice
AuthorizeDesktopIdarrayYes

The IDs of the cloud computers to which you want to add end users.

stringYes

The ID of a cloud computer to which you want to add end users.

ecd-gx2x1dhsmucyy****
RevokeDesktopIdarrayYes

The IDs of the cloud computers whose end users you want to remove.

stringYes

The ID of a cloud computer whose end users you want to remove.

ecd-j45qtb0eh91yg****

Response parameters

ParameterTypeDescriptionExample
object

Schema of response.

RequestIdstring

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

Examples

Sample success responses

JSONformat

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history