delete_schedule
Delete a non-running UniFi schedule by providing its ID and confirm=true to complete removal. Use when a schedule is no longer needed.
Instructions
Delete a non-running schedule. Requires confirm=true.
Mutating operation: removes the identified schedule from the store. Returns success=false unless confirm=true. Use create_interval_schedule to add one, or set_schedule_enabled to pause instead of delete.
Args: schedule_id: Identifier of the schedule to delete. confirm: Must be True to delete 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 delete the schedule; without it the call is a no-op. Defaults to False. | |
| schedule_id | Yes | Identifier of the schedule to delete. |