All Products
Search
Document Center

Identity as a Service:GetUserIdByUserExternalId

Last Updated:Jun 10, 2026

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

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/getUserIdByExternalId 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.

userExternalId

string

Yes

The external ID of the account.

xxx001

userSourceType

string

Yes

The source type of the account. Valid values:

  • build_in: The account was created in Identity as a Service (IDaaS).

  • ding_talk: The account was imported from DingTalk.

  • ad: The account was imported from Microsoft Active Directory (AD).

  • ldap: The account was imported from a Lightweight Directory Access Protocol (LDAP) service.

build_in

userSourceId

string

Yes

The source ID of the account. If the account was created in IDaaS, its source ID is the ID of the IDaaS instance. If the account was imported, its source ID is the enterprise ID in the source. For example, if the account was imported from DingTalk, its source ID is the corpId value of the enterprise in DingTalk.

idaas_ue2jvisn35ea5lmthk267xxxxx

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.