All Products
Search
Document Center

Elastic Desktop Service:ModifyUserEntitlement

Last Updated:Jan 18, 2023

Operation Description

You can modify permissions for regular users on cloud desktops that are only in the Running state.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

Parameter Type Required Description Example
RegionId string Yes

The ID of the region.

cn-hangzhou
EndUserId array Yes

The IDs of regular users.

string No

The ID of regular user.

Alice
AuthorizeDesktopId array Yes

The IDs of cloud desktops which you want to grant permissions to regular users.

string No

The ID of cloud desktop.

ecd-gx2x1dhsmucyy****
RevokeDesktopId array Yes

The IDs of cloud desktops which you want to revoke permissions from regular users.

string No

The ID of cloud desktop.

ecd-j45qtb0eh91yg****

Response parameters

Parameter Type Description Example
object
RequestId string

The ID of the request.

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

Example

Normal return example

JSONFormat

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

Error codes

For a list of error codes, visit the API error center.