Adds an organization member to a specified user group.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| quickbi-public:AddUserGroupMember | create | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| UserGroupId | string | Yes | The ID of the user group. | 555c4cd**** |
| UserIdList | string | Yes | The ID of the Quick BI user. Separate multiple IDs with commas (,). Example: abc,efg. You can enter a maximum of 1000 entries. | 46e537a5****,3dadsu**** |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "B6141A5A-A9EF-5F16-BF34-EFB9C1CCE4F3",
"Result": true,
"Success": true
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | Invalid.Parameter | An error occurred while verifying parameters. | An error occurred while verifying parameters. |
| 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 | User.Not.In.Organization | The specified user is not in the organizational unit. | The specified user is not in the organizational unit. |
| 400 | Usergroup.Not.Exist | The user group does not exist. | The user group does not exist. |
| 400 | Instance.Expired | Your instance has expired. | Your instance has expired. |
| 400 | Instance.Not.Exist | The specified instance does not exist. | The specified instance does not exist. |
| 400 | Access.Forbidden | Access forbidden. Your instance version or access key is not allowed to call the API operation. | - |
| 400 | Internal.System.Error | An internal system error occurred. | An internal system error occurred. |
| 400 | Parameter.Length.Exceed | Parameter length exceeds maximum limit: [%s]. | - |
For a list of error codes, visit the Service error codes.
