updateNotificationSchedule(
  organizationId: ID!
  scheduleId: ID!
  spec: UpdateNotificationScheduleSpec!
): NotificationSchedule!

Arguments

Field

Type

Returns

NotificationSchedule!

Field

Type

Example

mutation UpdateNotificationSchedule($organizationId: ID!, $scheduleId: ID!, $spec: UpdateNotificationScheduleSpec!) {
  updateNotificationSchedule(organizationId: $organizationId, scheduleId: $scheduleId, spec: $spec) {
    id
    name
    description
    cronExpression
    type
    enabled
  }
}

Example response

{
  "data": {
    "updateNotificationSchedule": {
      "id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
      "name": "Example name",
      "description": "Example description",
      "cronExpression": "Example cronExpression",
      "type": "SUMMARY",
      "enabled": true
    }
  }
}

On this page