Edit a task
update_taskChange the schedule, destination, method, timeout, headers or body of an existing task. Omit a field to leave it unchanged — sending null is refused, because "unchanged" and "cleared" must not look the same. State is NOT editable here: use pause_task and resume_task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Task id (UUID), as returned by create_task or list_tasks. | |
| url | No | The https:// destination. It must already be registered and verified — see register_destination. | |
| body | No | The body we send. Stored in the clear, so it must not carry credentials. A non-string is serialized as JSON. | |
| cron | No | 5 fields, UTC only, one minute at the finest. Operators: * a-b a,b */n a-b/n. Names: SUN-SAT (day), JAN-DEC (month). Macros: @yearly @annually @monthly @weekly @daily @midnight @hourly. Day-of-week is 0-6 with 0 = Sunday; 7 also means Sunday. Write days as names (MON-FRI). Numbers differ between schedulers: Quartz, AWS EventBridge and Cloudflare number Sunday as 1, we and croniter as 0. Translated for you: "?". "?" as a whole day-of-month or day-of-week field becomes "*". A NUMERIC day-of-week next to "?" is refused, because "?" means the expression was written where Sunday is 1. Refused: Quartz L, Quartz W, Quartz #, six fields (seconds), seven fields (year), @reboot, @every, CRON_TZ= prefixes, time zones of any kind — each with a code saying what to send instead. | |
| name | No | Your name for the task. Unique among your live tasks; creating with an existing name updates it. | |
| method | No | HTTP method of the delivery. Default POST. GET and HEAD carry no body. | |
| headers | No | Headers we send with the delivery. Stored ENCRYPTED at rest — put credentials here, never in the body. | |
| timeoutMs | No | How long we wait for your server, 250-2000 ms. Answer 202 and do the work behind it. |