获取用户组列表
获取用户组列表
Query Parameters
filter string
过滤条件
order_by string
排序信息
page_size int32
每页数量
page_token string
分页标识
Responses
- 200
- default
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
groups object[]
用户组列表
id string
用户组id
name string required
Possible values: non-empty
and <= 64 characters
用户组名称
display_name string required
Possible values: non-empty
and <= 64 characters
用户组显示名称
user_count int32
用户组成员数
remark string
Possible values: <= 128 characters
备注
tenant_id string
租户id
next_page_token string
分页标识
total_size int32
条目总数
{
"groups": [
{
"id": "string",
"name": "string",
"display_name": "string",
"user_count": 0,
"remark": "string",
"create_time": "2024-12-05T02:41:59.121Z",
"update_time": "2024-12-05T02:41:59.121Z",
"join_time": "2024-12-05T02:41:59.121Z",
"tenant_id": "string"
}
],
"next_page_token": "string",
"total_size": 0
}
Default error response
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
@type string
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...