API-Referenz · Notifications · Notification schedules
Update notification schedule
Mutation
updateNotificationScheduleUpdates a notification schedule.
updateNotificationSchedule(
organizationId: ID!
scheduleId: ID!
spec: UpdateNotificationScheduleSpec!
): NotificationSchedule!Argumente
Feld
Typ
Rückgabe
Feld
Typ
Beispiel
mutation UpdateNotificationSchedule($organizationId: ID!, $scheduleId: ID!, $spec: UpdateNotificationScheduleSpec!) {
updateNotificationSchedule(organizationId: $organizationId, scheduleId: $scheduleId, spec: $spec) {
id
name
description
cronExpression
type
enabled
}
}Beispielantwort
{
"data": {
"updateNotificationSchedule": {
"id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
"name": "Example name",
"description": "Example description",
"cronExpression": "Example cronExpression",
"type": "SUMMARY",
"enabled": true
}
}
}