RevokeMemberProjectRoles
Revokes roles from a workspace member.
Operation description
DataWorks Basic Edition or a more advanced edition is required to use this operation.
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 settings page to obtain the workspace ID. |
105149 |
| UserId |
string |
Yes |
The ID of the DataWorks account. You can log on to the DataWorks console - Management Center, select the workspace that you want to manage, go to the Tenant Members and Roles page, and view the account ID of the member whose roles you want to revoke. |
123422344899 |
| RoleCodes |
array |
Yes |
The list of workspace role codes. You can call ListProjectRoles to obtain the role codes. This parameter specifies the workspace roles to be revoked by this API call. |
|
|
string |
No |
The workspace role code. |
role_project_guest |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. Used 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.