Docs
Get Departments
GET /Organizations/{orgId}/departments
GET
/Organizations/{orgId}/departmentsReturns all departments defined for the organization, with id, name and access, the Department verbs the caller holds on each. Requires Organization basic access.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Response
Type: GetDepartmentsResponse[]
GetDepartmentsResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| access | string[]| null |