Update a schedule
PATCH/v1/schedules/:id
Partial update. kind is immutable — create a new schedule to change it.
Any semantic edit (timing, target, payload, or policies) bumps version;
in-flight runs keep the schedule_version they were materialised under.
Timing edits recompute next_fire_at immediately. Updating a schedule in
disabled_failing or disabled_invalid does not resume it — call
/resume explicitly after fixing the cause.
Request
Responses
- 200
- 403
- 404
- 409
- 422
Updated schedule
Caller is not a tenant_admin (forbidden)
Schedule not found (not_found)
Schedule is deleted or completed and cannot be edited (invalid_state)
Validation failed (validation_failed, invalid_cron, invalid_timezone, invalid_target_url, payload_too_large)