All Products
Search
Document Center

Identity as a Service:GetOrganizationalUnit

Last Updated:Jun 10, 2026

Mengambil informasi tentang unit organisasi.

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

GET /v2/{instanceId}/{applicationId}/organizationalUnits/{organizationalUnitId} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

instanceId

string

Yes

ID instans.

idaas_ue2jvisn35ea5lmthk267xxxxx

applicationId

string

Yes

ID aplikasi.

app_mkv7rgt4d7i4u7zqtzev2mxxxx

organizationalUnitId

string

Yes

ID unit organisasi.

ou_wovwffm62xifdziem7an7xxxxx

Parameter permintaan

Parameter

Type

Required

Description

Example

Authorization

string

Yes

Informasi autentikasi. Format: Bearer ${access_token}. Contoh: Bearer ATxxxx.

Bearer AT8csE2seYxxxxxij

Elemen respons

Element

Type

Description

Example

object

Parameter respons.

instanceId

string

ID instans.

idaas_ue2jvisn35ea5lmthk267xxxxx

organizationalUnitId

string

ID unit organisasi.

ou_wovwffm62xifdziem7an7xxxxx

organizationalUnitName

string

Nama unit organisasi.

name001

parentId

string

ID unit organisasi induk.

ou_wovwffm62xifdziem7an7xxxxx

organizationalUnitExternalId

string

ID eksternal unit organisasi.

id_wovwffm62xifdziem7an7xxxxx

organizationalUnitSourceType

string

Tipe sumber unit organisasi. Nilai yang valid:

  • build_in: Unit organisasi dibuat di Identity as a Service (IDaaS).

  • ding_talk: Unit organisasi diimpor dari DingTalk.

  • ad: Unit organisasi diimpor dari Microsoft Active Directory (AD).

  • ldap: Unit organisasi diimpor dari layanan Lightweight Directory Access Protocol (LDAP).

build_in

organizationalUnitSourceId

string

ID sumber unit organisasi.

id_wovwffm62xifdziem7an7xxxxx

createTime

integer

Waktu saat unit organisasi dibuat. Nilai ini berupa UNIX timestamp yang mewakili jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC.

1652083425923

updateTime

integer

Waktu saat unit organisasi terakhir diperbarui. Nilai ini berupa UNIX timestamp yang mewakili jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC.

1652083425923

description

string

Deskripsi unit organisasi.

xxxxx

Contoh

Respons sukses

JSONformat

{
  "instanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
  "organizationalUnitId": "ou_wovwffm62xifdziem7an7xxxxx",
  "organizationalUnitName": "name001",
  "parentId": "ou_wovwffm62xifdziem7an7xxxxx",
  "organizationalUnitExternalId": "id_wovwffm62xifdziem7an7xxxxx",
  "organizationalUnitSourceType": "build_in",
  "organizationalUnitSourceId": "id_wovwffm62xifdziem7an7xxxxx",
  "createTime": 1652083425923,
  "updateTime": 1652083425923,
  "description": "xxxxx"
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.