Mengambil informasi tentang pengguna dengan menggunakan token pengguna.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
GET /v2/{instanceId}/{applicationId}/oauth2/userinfo 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 autentikasi. Format: Bearer ${access_token}. Contoh: Bearer ATxxxx. |
Bearer xxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
|
any |
Informasi pengguna. |
无 |
Contoh
Respons sukses
JSONformat
{
"key": "无"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.