Docs
Get Departments
GET /Organizations/{orgId}/departments
GET
/Organizations/{orgId}/departmentsReturns all departments defined for the organization, with id and name. Requires OrganizationBasicAccess or OrganizationAdmin.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Response
Type: GetDepartmentsResponse[]
GetDepartmentsResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null |