Skip to main content
Recently Deleted/Recently Deleted

GetDepartmentTree

Get the full department hierarchy tree for the specified tenant.

GET/api/v1/tenants/{tenantUuid}/org/departments/tree

Operation ID

GetDepartmentTree

Since

1.0.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

Path Parameters

  • tenantUuid
    StringRequired

    UUID of the tenant to retrieve the department tree for

Query Parameters

  • rootUuid
    String

    UUID of the department to use as the root node; empty returns the full tree UUID of the department to use as the root node; empty returns the full tree

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • data
    Object

    The data value

    Example: (nested object)