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
Example
Normal return example
JSON
Format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
For a list of error codes, visit the API error center.