Mengkueri akun dalam kelompok Employee Identity and Access Management (EIAM).
Coba sekarang
Test
RAM authorization
Sintaks permintaan
GET /v2/{instanceId}/{applicationId}/groups/{groupId}/actions/listUsersForGroup HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
ID instans. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| applicationId |
string |
Yes |
ID aplikasi. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| groupId |
string |
Yes |
ID kelompok. |
group_wovwffm62xifdziem7an7xxxxx |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Authorization |
string |
Yes |
Informasi otentikasi. Nilai dalam format Bearer ${access_token}. Contoh: Bearer ATxxxx. |
Bearer xxxx |
| nextToken |
string |
No |
Token paginasi. |
NTxxx |
| maxResults |
integer |
No |
Jumlah entri per halaman. Nilai default: 20. |
20 |
Jika Anda menetapkan groupId ke iggroup_all, sistem akan mengkueri akun di semua kelompok.
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 |
| userId |
string |
The account ID. |
user_001 |
| nextToken |
string |
A pagination token. If NextToken is empty, no next page exists. |
NTxxx |
| maxResults |
integer |
The maximum number of entries returned. |
20 |
Contoh
Respons sukses
JSONformat
{
"totalCount": 1000,
"data": [
{
"instanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"userId": "user_001"
}
],
"nextToken": "NTxxx",
"maxResults": 20
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.