Update schedule recurrence

Updates the recurrence configuration for a schedule, including the recurrence pattern, duration, timezone, and late submission rule. All recurrence fields are replaced with the provided values. Use effective_from to control whether changes apply from the current or next occurrence.

Update the recurrence configuration for an existing schedule. The new recurrence object replaces the current configuration entirely.

Use effective_from to control whether the change applies from the current occurrence or the next one.

Recurrence fields

FieldRequiredDescription
dtstart_rruleYesRFC 5545 string combining DTSTART and RRULE. Defines the start time, timezone, and repeat pattern. Example: "DTSTART;TZID=America/New_York:20240101T140000\nRRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO"
durationYesISO 8601 duration string defining the occurrence window length. Example: "PT1H" for one hour.
use_site_timezoneNoWhen true, each target site's configured timezone is used instead of the timezone in the RRULE. Only applies to schedules with site or asset targets.
late_submission_ruleNoControls how long after an occurrence ends users can still submit work. Set until_next_occurrence to allow submission until the next occurrence starts, or late_submission_duration to allow a fixed window (currently only "P14D" is supported).

Note: When use_site_timezone is true, omit the TZID parameter from dtstart_rrule. The timezone is derived from each site in the schedule's targets and must not be set in the recurrence rule.

Effective from options

OptionDescription
UPDATE_EFFECTIVE_FROM_CURRENT_OCCURRENCEApply the new recurrence from the current occurrence.
UPDATE_EFFECTIVE_FROM_NEXT_OCCURRENCEApply the new recurrence from the next occurrence.

Requirements

Path Params
string
required

Unique identifier of the schedule to update.

Body Params

UpdateScheduleRecurrence replaces the recurrence configuration for an existing schedule.

recurrence
object
required

ScheduleRecurrence defines when and how often the schedule repeats.

RFC 5545 recurrence definition combining DTSTART and RRULE properties.
DTSTART specifies the start time and timezone. RRULE defines the recurrence pattern.
Timezone defaults to UTC if unspecified, or if use_site_timezone is true.

Expected format: "DTSTART;TZID=America/New_York:20240101T140000\nRRULE:FREQ=DAILY;INTERVAL=1"

string
enum
required
Defaults to UPDATE_EFFECTIVE_FROM_UNSPECIFIED

UpdateEffectiveFrom specifies when schedule changes should take effect.

  • UPDATE_EFFECTIVE_FROM_UNSPECIFIED: Unspecified.
  • UPDATE_EFFECTIVE_FROM_CURRENT_OCCURRENCE: Apply changes starting from the current occurrence.
  • UPDATE_EFFECTIVE_FROM_NEXT_OCCURRENCE: Apply changes starting from the next occurrence.
Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json