API-Referenz · Status pages · Components
Update component
Mutation
updateStatuspageComponentUpdates a component of a status page.
updateStatuspageComponent(
organizationUUID: ID!
statuspageId: Int!
componentId: ID!
updateSpec: StatuspageComponentUpdateSpec!
): StatuspageComponent!Argumente
Feld
Typ
Rückgabe
Feld
Typ
Beispiel
mutation UpdateStatuspageComponent($organizationUUID: ID!, $statuspageId: Int!, $componentId: ID!, $updateSpec: StatuspageComponentUpdateSpec!) {
updateStatuspageComponent(organizationUUID: $organizationUUID, statuspageId: $statuspageId, componentId: $componentId, updateSpec: $updateSpec) {
id
position
type
description
createdAt
updatedAt
component {
__typename
... on StatuspageComponentPayloadService {
service {
id
name
description
}
}
}
health {
name
color
icon
}
}
}Beispielantwort
{
"data": {
"updateStatuspageComponent": {
"id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
"position": 1,
"type": "SERVICE",
"description": "Example description",
"createdAt": "2026-01-01T12:00:00Z",
"updatedAt": "2026-01-01T12:00:00Z",
"component": {
"__typename": "StatuspageComponentPayloadService",
"service": {
"id": 1,
"name": "Example name",
"description": "Example description"
}
},
"health": {
"name": "Example name",
"color": "#666bff",
"icon": "Example icon"
}
}
}
}