Mengkueri ID akun Employee Identity and Access Management (EIAM) berdasarkan nomor ponsel.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST /v2/{instanceId}/{applicationId}/users/_/actions/getUserIdByPhoneNumber 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. Format: Bearer ${access_token}. Contoh: Bearer ATxxxx. |
Bearer AT8csE2seYxxxxxij |
| body |
object |
No |
Badan permintaan. |
|
| phoneNumber |
string |
Yes |
The mobile number of the user who owns the account. |
156xxxxxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| userId |
string |
The account ID. |
user_d6sbsuumeta4h66ec3il7yxxxx |
Contoh
Respons sukses
JSONformat
{
"userId": "user_d6sbsuumeta4h66ec3il7yxxxx"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.