Batch remove specified users from user groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:DeleteUserGroupMembers |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
Yes |
The Quick BI UserID of the user to remove from the user group, not the Alibaba Cloud UID. |
204627493484**** |
| UserGroupIds |
string |
Yes |
The IDs of the user groups to remove the user from.
|
34fd141d-4598-4093-8c33-8e066dcb****,3d2c23d4-2b41-4af8-a1f5-f6390f32**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
ABBAD906-3925-5D18-B23D-714053AB0AA2 |
| Result |
boolean |
Indicates whether the operation succeeded. Valid values:
|
true |
| Success |
boolean |
Indicates whether the request succeeded. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "ABBAD906-3925-5D18-B23D-714053AB0AA2",
"Result": true,
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Usergroup.NotBelongTo.CurrentOrganization | The usergroup %s does not belong to the current organization. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.