Mengambil informasi tentang kelompok Employee Identity and Access Management (EIAM) per halaman.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
GET /v2/{instanceId}/{applicationId}/groups HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
ID instans. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| applicationId |
string |
Yes |
ID aplikasi. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Authorization |
string |
Yes |
Informasi otentikasi. Nilainya dalam format Bearer ${access_token}. Contoh: Bearer ATxxxx. |
Bearer xxxx |
| groupNameStartWith |
string |
No |
Awalan nama kelompok. |
group_xxx |
| nextToken |
string |
No |
Token paginasi yang digunakan di permintaan berikutnya untuk mengambil halaman hasil baru. |
NTxxx |
| maxResults |
integer |
No |
Jumlah entri per halaman. Nilai default: 20. |
20 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
DeveloperNextTokenResponse |
||
| totalCount |
integer |
The total number of entries returned. |
1000 |
| data |
array<object> |
The returned data. |
|
|
object |
The returned data. |
||
| instanceId |
string |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| groupId |
string |
The group ID. |
group_ufdsasn35ea5lmthk267xxxxx |
| groupName |
string |
The group name. |
name_test |
| description |
string |
The group description. |
description_demo |
| groupExternalId |
string |
The external ID of the group. |
group_ufdsasn35ea5lmthk267xxxxx |
| groupSourceType |
string |
The source type of the group. Valid values: build_in, ding_talk, ad, and ldap. |
build_in |
| groupSourceId |
string |
The source ID of the group. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| createTime |
integer |
The time when the group was created. The value is a UNIX timestamp. Unit: milliseconds. |
1652085686179 |
| updateTime |
integer |
The time when the group was last updated. The value is a UNIX timestamp. Unit: milliseconds. |
1652085686179 |
| nextToken |
string |
The start position of the query. If this parameter is left empty, the query starts from the beginning. |
NTxxx |
| maxResults |
integer |
The maximum number of entries returned. |
20 |
Contoh
Respons sukses
JSONformat
{
"totalCount": 1000,
"data": [
{
"instanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"groupId": "group_ufdsasn35ea5lmthk267xxxxx",
"groupName": "name_test",
"description": "description_demo",
"groupExternalId": "group_ufdsasn35ea5lmthk267xxxxx",
"groupSourceType": "build_in",
"groupSourceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"createTime": 1652085686179,
"updateTime": 1652085686179
}
],
"nextToken": "NTxxx",
"maxResults": 20
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.