Update a schedule
Schedules
Update a schedule
Change a schedule’s name, timing, or session template.
PATCH
Update a schedule
Partial update: only the fields you provide change. Changing
timing recomputes the next fire from now.
Returns the updated schedule object.
Path parameters
The schedule’s id (UUID).
Request body
New display name. May not be
null.New description. Pass
null to clear it.New cron timing (same shape and constraints as Create). May not be
null. The next fire is recomputed from now.New session template (same shape and restrictions as Create). May not be
null.Examples
Errors
| Status | Cause |
|---|---|
400 | The new expression fires more often than once every 5 minutes, or the new template is invalid (no messages, or parent_session_id set). |
404 | No schedule with this id in your organization. |
422 | Body failed validation: invalid cron expression, unknown timezone, or explicit null for name, timing, or session_request. |