DuplicatedDepartmentRole

A request or response body; the type column links to the schemas it refers to.

DuplicatedDepartmentRole

FieldTypeRequiredDescription
idstring (uuid)yes—
department_idstring (uuid)yes—
slugstringyes—
namestringyes—
descriptionstring | nullyes—
permissionsarray of stringyes—
created_atstring (date-time)yes—
required_certificationsarray of RoleRequiredCertificationyes

The requirement links the copy was given, in the order they were listed.

manager_role_idsarray of string (uuid)yes

The roles that manage the copy.

subordinate_role_idsarray of string (uuid)yes

The roles the copy manages.

granted_holder_countintegeryes

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
}