Erfordert Manager oder höher (Admin). Berechtigungen

updateIncidentRole(
  organizationUUID: ID!
  roleId: ID!
  incidentRoleSpec: IncidentRoleSpec!
): IncidentRole!

Argumente

Feld

Typ

Rückgabe

IncidentRole!

Feld

Typ

Beispiel

mutation UpdateIncidentRole($organizationUUID: ID!, $roleId: ID!, $incidentRoleSpec: IncidentRoleSpec!) {
  updateIncidentRole(organizationUUID: $organizationUUID, roleId: $roleId, incidentRoleSpec: $incidentRoleSpec) {
    id
    name
    description
    createdAt
    updatedAt
  }
}

Beispielantwort

{
  "data": {
    "updateIncidentRole": {
      "id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
      "name": "Example name",
      "description": "Example description",
      "createdAt": "2026-01-01T12:00:00Z",
      "updatedAt": "2026-01-01T12:00:00Z"
    }
  }
}

Auf dieser Seite