Update a scheduled job
Partial update. Changing cron_expression re-times the backing schedule; toggling enabled pauses/unpauses it; other fields update the record only. definition_id is immutable. Cross-tenant access returns 404.
Authorizations
Path Parameters
Body
PATCH /scheduled-jobs/{id} body — partial-update semantics per D-06.
Router uses body.model_dump(exclude_unset=True); only fields the
caller explicitly set are forwarded to the repository.
Response
Successful Response
GET response — next_fire_at is injected by the router via croniter (D-14).
next_fire_at is None only for legacy rows whose stored cron cannot
produce a next fire (CR-02 defense in depth) — the write gate rejects
such expressions for all new/updated records.
success, failure, running