API-Referenz · Incidents · Roles & responders
Update incident role
Mutation
updateIncidentRoleChanges the name and description of an incident role.
updateIncidentRole(
organizationUUID: ID!
roleId: ID!
incidentRoleSpec: IncidentRoleSpec!
): IncidentRole!Argumente
Feld
Typ
Rückgabe
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"
}
}
}