All Products
Search
Document Center

Identity as a Service:ListGroups

Last Updated:Jul 31, 2025

Queries information about Employee Identity and Access Management (EIAM) groups by page.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

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

Request parameters

ParameterTypeRequiredDescriptionExample
AuthorizationstringYes

The authentication information. The value is in the Bearer ${access_token} format. Example: Bearer ATxxxx.

Bearer xxxx
instanceIdstringYes

The instance ID.

idaas_ue2jvisn35ea5lmthk267xxxxx
applicationIdstringYes

The application ID.

app_mkv7rgt4d7i4u7zqtzev2mxxxx
groupNameStartWithstringNo

The prefix of the group name.

group_xxx
nextTokenstringNo

nextToken

NTxxx
maxResultsintegerNo

The number of entries per page. Default value: 20.

20

Response parameters

ParameterTypeDescriptionExample
object

DeveloperNextTokenResponse

totalCountlong

The total number of entries returned.

1000
dataarray<object>

The returned data.

dataobject

The returned data.

groupNamestring

The group name.

name_test
instanceIdstring

The instance ID.

idaas_ue2jvisn35ea5lmthk267xxxxx
createTimelong

The time when the group was created. The value is a UNIX timestamp. Unit: milliseconds.

1652085686179
groupIdstring

The group ID.

group_ufdsasn35ea5lmthk267xxxxx
groupSourceTypestring

The source type of the group. Valid values: build_in, ding_talk, ad, and ldap.

build_in
descriptionstring

The group description.

description_demo
groupSourceIdstring

The source ID of the group.

idaas_ue2jvisn35ea5lmthk267xxxxx
updateTimelong

The time when the group was last updated. The value is a UNIX timestamp. Unit: milliseconds.

1652085686179
groupExternalIdstring

The external ID of the group.

group_ufdsasn35ea5lmthk267xxxxx
nextTokenstring

The start position of the query. If this parameter is left empty, the query starts from the beginning.

NTxxx
maxResultsinteger

The maximum number of entries returned.

20

Examples

Sample success responses

JSONformat

{
  "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
}

Error codes

For a list of error codes, visit the Service error codes.