Queries information about user groups in batch by user group ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:ListByUserGroupId |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserGroupIds |
string |
Yes |
The IDs of the user groups to query. Separate multiple IDs with commas (,). |
34fe-***-6dcb,84q9-****-4a274 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| RequestId |
string |
The request ID. |
D8749D65-E80A-433C-AF1B-CE9C180FF3B4 |
| Result |
object |
The query results of the user groups. |
|
| FailedUserGroupIds |
array |
The list of user group IDs that failed to be queried. |
[] |
|
string |
The user group ID that failed to be queried. |
[] |
|
| UserGroupModels |
array<object> |
The details of the queried user groups. |
|
|
object |
|||
| CreateTime |
string |
The creation time in the format of YYYY-MM-DD HH:mm:ss. |
2021-03-15 17:13:55 |
| CreateUser |
string |
The UserID of the creator in Quick BI. |
46e5*******ee22e2a292704c8 |
| IdentifiedPath |
string |
The path of the user group. |
2fe4fbd8-****-af083ea/34fd1-****-dcbc33f |
| ModifiedTime |
string |
The modification time in the format of YYYY-MM-DD HH:mm:ss. |
2021-03-15 20:36:40 |
| ModifyUser |
string |
The UserID of the modifier in Quick BI. |
46e5*******ee22e2a292704c8 |
| ParentUsergroupId |
string |
The ID of the parent user group. |
2fe4fbd8-588f-489a-b3e1-e92c7af083ea |
| UsergroupDesc |
string |
The description of the user group. |
Description information |
| UsergroupId |
string |
The user group ID. |
34fd141d-****-4093-8c33-8e066dcbc33f |
| UsergroupName |
string |
The name of the user group. |
Test user group |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "D8749D65-E80A-433C-AF1B-CE9C180FF3B4",
"Result": {
"FailedUserGroupIds": [
"[]"
],
"UserGroupModels": [
{
"CreateTime": "2021-03-15 17:13:55",
"CreateUser": "46e5*******ee22e2a292704c8",
"IdentifiedPath": "2fe4fbd8-****-af083ea/34fd1-****-dcbc33f",
"ModifiedTime": "2021-03-15 20:36:40",
"ModifyUser": "46e5*******ee22e2a292704c8",
"ParentUsergroupId": "2fe4fbd8-588f-489a-b3e1-e92c7af083ea",
"UsergroupDesc": "Description\n",
"UsergroupId": "34fd141d-****-4093-8c33-8e066dcbc33f",
"UsergroupName": "Test user group\n"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Usergroup.Not.Exist | The user group does not exist. | The user group does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.