查询用户组列表
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListGroups | 要执行的操作,取值:ListGroups。 |
Version | String | 是 | 2023-01-01 | API的版本,取值:2023-01-01。 |
PageSize | Integer | 否 | 10 | 分页大小,默认 10,[1,100] |
PageNumber | Integer | 否 | 1 | 页码,默认 1 |
JoinType | String | 否 | Manual | 用户组类型 |
QueryString | String | 否 | name | 过滤参数。搜索用户组名/显示名. |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
PageSize | Integer | 10 | 分页大小 |
PageNumber | Integer | 1 | 页码 |
Total | Long | 100 | 总数 |
Groups | Array of Object | [ | 用户组列表 |
POST /?Action=ListGroups&Version=2023-01-01 HTTP/1.1 Host: https://open.volcengineapi.com Content-Type: application/json; charset=UTF-8 X-Date: 20250310T124657Z X-Content-Sha256: 287e874e******d653b44d21e Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250310/cn-beijing/cloudidentity/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f { "PageSize": 145, "PageNumber": 57, "JoinType": "Manual", "QueryString": "Kx4f" }
{ "ResponseMetadata": { "RequestId": "202503102045591970702120869E5108", "Action": "ListGroups", "Version": "2023-01-01", "Service": "cloudidentity", "Region": "cn-beijing" }, "Result": { "PageSize": 324, "PageNumber": 884, "Total": 431, "Groups": [ { "GroupId": "V6", "GroupName": "3Po", "DisplayName": "0fd3S", "Description": "CoQn", "Source": "Manual", "CreatedTime": "jzeT4d1p", "UpdatedTime": "Pt", "JoinType": "Manual" } ] } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
---|---|---|
400 | ParamMissing | 参数缺省 |
400 | ServiceStatusException | 企业身份中心实例不可用 |
400 | PermissionError | 没有接口权限 |
500 | InternalError | 服务内部错误 |