DepartmentRole
A request or response body; the type column links to the schemas it refers to.
DepartmentRole
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | yes | — |
| department_id | string (uuid) | yes | — |
| slug | string | yes | — |
| name | string | yes | — |
| description | string | null | yes | — |
| permissions | array of string | yes | — |
| created_at | string (date-time) | yes | — |
jsonExample
{
"id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"department_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"slug": "string",
"name": "string",
"description": "string",
"permissions": [
"string"
],
"created_at": "2026-01-01T00:00:00.000Z"
}