Update a routine
routines_updateUpdate a routine's instruction, cadence, delivery, or enabled switch (pause/resume). Only pass the fields being changed. Cadence changes recompute the next fire time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Routine id (from routines_list). | |
| name | No | ||
| roomId | No | With delivery "room": the room to post in. | |
| enabled | No | ||
| delivery | No | ||
| interval | No | ||
| workspace | No | Workspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys. | |
| approvalId | No | Approval id from a prior needs_confirmation envelope. | |
| instruction | No | ||
| scheduleTime | No | Wall-clock "HH:MM" anchor (default 09:00). | |
| scheduleTimezone | No | ||
| scheduleDayOfWeek | No |