RevokeMemberProjectRoles
Revokes roles from a workspace member.
Operation description
This operation is available only in DataWorks Basic Edition or higher.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:RevokeMemberProjectRoles |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The ID of the DataWorks workspace. You can log on to the DataWorks console and go to the workspace configuration page to obtain the workspace ID. |
105149 |
| UserId |
string |
Yes |
The account ID of the existing workspace member whose roles you want to revoke. You can obtain the ID from the |
123422344899 |
| RoleCodes |
array |
Yes |
The list of workspace role codes to revoke. Specify 1 to 10 role codes. You can view the roles granted to the member from the |
|
|
string |
No |
The workspace role code. |
role_project_guest |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. You can use the ID to locate logs and troubleshoot issues. |
676271D6-53B4-57BE-89FA-72F7AE1418DF |
Examples
Success response
JSON format
{
"RequestId": "676271D6-53B4-57BE-89FA-72F7AE1418DF"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.