Edit a trigger
Editing happens via the same /schedule endpoint. Specify the trigger to update using either ttr-trigger-idheader or ttr-custom-keyheader.
The existing trigger is updated in place with the new schedule time, URL, method, headers, and body.
Reschedule by trigger ID
Pass ttr-trigger-idheader with the ID returned when the trigger was first scheduled. The trigger must still be in registered state (not yet executed or cancelled).
The response will have "operation": "reschedule".
Reschedule by custom key
If you originally provided a ttr-custom-keyheader, any subsequent call to /schedule with the same key will reschedule the existing trigger, as long as it hasn't been executed yet.
This is the recommended approach for idempotent scheduling.