ListGroups - 列表查询EIAM组信息

调用ListGroups接口,分页查询EIAM组信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

GET /v2/{instanceId}/{applicationId}/groups HTTP/1.1

请求参数

名称类型必填描述示例值
Authorizationstring

认证信息。 格式:Bearer ${access_token}。 示例:Bearer ATxxxx。

Bearer xxxx
instanceIdstring

实例 ID。

idaas_ue2jvisn35ea5lmthk267xxxxx
applicationIdstring

应用 ID。

app_mkv7rgt4d7i4u7zqtzev2mxxxx
groupNameStartWithstring

组名称前缀

group_xxx
nextTokenstring

nextToken

NTxxx
maxResultsinteger

单页大小,默认 20

20

返回参数

名称类型描述示例值
object

DeveloperNextTokenResponse

totalCountlong

数据总记录数。

1000
dataarray<object>

返回数据对象。

dataobject

返回数据对象。

groupNamestring

组名称。

name_test
instanceIdstring

实例 ID。

idaas_ue2jvisn35ea5lmthk267xxxxx
createTimelong

组创建时间, Unix 时间戳格式,单位为毫秒。

1652085686179
groupIdstring

组 ID。

group_ufdsasn35ea5lmthk267xxxxx
groupSourceTypestring

组来源类型,build_in[自建],ding_talk[钉钉导入],ad[AD 导入],ldap[LDAP 导入]。

build_in
descriptionstring

组描述。

description_demo
groupSourceIdstring

组来源 ID。

idaas_ue2jvisn35ea5lmthk267xxxxx
updateTimelong

组最近一次更新时间,Unix 时间戳格式,单位为毫秒。

1652085686179
groupExternalIdstring

组外部标识。

group_ufdsasn35ea5lmthk267xxxxx
nextTokenstring

用来标记当前开始读取的位置,置空表示从头开始

NTxxx
maxResultsinteger

一次获取的最大记录数。

20

示例

正常返回示例

JSON格式

{
  "totalCount": 1000,
  "data": [
    {
      "groupName": "name_test",
      "instanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
      "createTime": 1652085686179,
      "groupId": "group_ufdsasn35ea5lmthk267xxxxx",
      "groupSourceType": "build_in",
      "description": "description_demo",
      "groupSourceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
      "updateTime": 1652085686179,
      "groupExternalId": "group_ufdsasn35ea5lmthk267xxxxx"
    }
  ],
  "nextToken": "NTxxx",
  "maxResults": 20
}

错误码

访问错误中心查看更多错误码。