All Products
Search
Document Center

Identity as a Service:GetUserIdByUsername

Last Updated:Jun 10, 2026

Mengkueri ID akun Employee Identity and Access Management (EIAM) berdasarkan nama pengguna.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Sintaks permintaan

POST /v2/{instanceId}/{applicationId}/users/_/actions/getUserIdByUsername 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 xxxx

body

object

No

Badan permintaan.

username

string

Yes

The username of the account.

username_001

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.