set_schedule_enabled
Enable or pause a UniFi schedule by ID. Set enabled to true to run on interval or false to pause; confirm=true applies the change.
Instructions
Enable or pause a schedule. Requires confirm=true.
Mutating operation: flips the enabled flag on the identified schedule and persists it. Returns success=false unless confirm=true. Use create_interval_schedule to add, or delete_schedule to remove.
Args: schedule_id: Identifier of the schedule to modify. enabled: True to enable (run on interval) or False to pause it. confirm: Must be True to change the schedule; without it the call is a no-op. Defaults to False.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be True to change the schedule; without it the call is a no-op. Defaults to False. | |
| enabled | Yes | True to enable (run on interval) or False to pause it. | |
| schedule_id | Yes | Identifier of the schedule to modify. |