Authing icon

Authing

Authing Admin API集成,支持用户管理等功能

组织与部门管理 → 获取所有部门列表

AI-generated

Summary

Lists the departments in an Authing organization, with options to choose the department ID and include custom data or post data.

Inputs

  • organizationCode (required) — The unique code of the organization; defaults to 0.
  • options.departmentId — Department ID to use in the request; defaults to the root department ID when omitted.
  • options.departmentIdType — Type of department ID: department_id or open_department_id; defaults to department_id.
  • options.withCustomData — Whether to include custom data; defaults to false.
  • options.withPost — Whether to include post data; defaults to false.

Output shape

A list of department records returned by Authing.

Requires authingAdminApi credentials. The operation implementation is not included in the supplied source pack, so the exact request and response fields cannot be confirmed.

Links

Discussion