Updates the roles of a user in a workspace.
Operation description
Prerequisites
You have created a VPC.
You are logged on to the DMS console with your Alibaba Cloud account (primary account) or a RAM user (sub-account). The account must have the required permissions, and you must have granted the
AliyunDMSProcessingDataRolePolicypermission to DMS.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
string |
Yes |
The workspace ID. |
12**** |
| DmsUserId |
string |
Yes |
The DMS user ID. |
123*** |
| RoleIds |
string |
Yes |
One or more workspace role IDs, separated by commas. This parameter takes precedence over the RoleId parameter. Important RoleId and RoleIds cannot both be empty. |
11,12 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The ID of the request. |
C5B8E84B-42B6-4374-AD5A-6264E1753325 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Data |
boolean |
The result of the operation. |
true |
Examples
Success response
JSON format
{
"RequestId": "C5B8E84B-42B6-4374-AD5A-6264E1753325",
"Success": true,
"Data": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.