Adds an organization member to a specified user group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:AddUserGroupMember |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserGroupId |
string |
Yes |
The ID of the user group. |
555c4cd**** |
| UserIdList |
string |
Yes |
The IDs of Quick BI users. Separate multiple IDs with commas (,), for example, abc,efg. You can specify up to 1,000 IDs. |
46e537a5****,3dadsu**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
B6141A5A-A9EF-5F16-BF34-EFB9C1CCE4F3 |
| Result |
boolean |
Indicates whether the members were added. Valid values:
|
true |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "B6141A5A-A9EF-5F16-BF34-EFB9C1CCE4F3",
"Result": true,
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Invalid.User | The user does not exist and cannot be added to a user group. | The user does not exist and cannot be added to the user group. |
| 400 | Usergroup.Not.Exist | The user group does not exist. | The user group does not exist. |
| 400 | Parameter.Length.Exceed | Parameter length exceeds maximum limit: [%s]. | |
| 400 | UserGroup.Already.Synchronized | Organization has synchronized with other organizational structures, so you are not allowed to add users under group. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.