DuplicatedDepartmentRole
A request or response body; the type column links to the schemas it refers to.
DuplicatedDepartmentRole
| 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 | — |
| required_certifications | array of RoleRequiredCertification | yes | The requirement links the copy was given, in the order they were listed. |
| manager_role_ids | array of string (uuid) | yes | The roles that manage the copy. |
| subordinate_role_ids | array of string (uuid) | yes | The roles the copy manages. |
| granted_holder_count | integer | yes | How many of the original's holders were granted the copy. |
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",
"required_certifications": [
{
"id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"role_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"department_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"organization_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"certification_type_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"recert_scheme": "none",
"recert_interval_months": 0,
"recert_anchor_month": 0,
"recert_anchor_day": 0,
"initial_due_at": "2026-01-01T00:00:00.000Z",
"created_by": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"created_at": "2026-01-01T00:00:00.000Z",
"certification_type": {
"id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"slug": "string",
"name": "string",
"awarding_mode": "automatic",
"archived_at": "2026-01-01T00:00:00.000Z"
}
}
],
"manager_role_ids": [
"1b671a64-40d5-491e-99b0-da01ff1f3341"
],
"subordinate_role_ids": [
"1b671a64-40d5-491e-99b0-da01ff1f3341"
],
"granted_holder_count": 0
}