toggle_automation_rule
Flip an automation rule’s enabled flag to switch it on or off and return the updated rule; read the rule first if the current state matters.
Instructions
Toggle Automation Rule
Flips the enabled flag of a rule (enabled becomes disabled and the reverse) and returns the updated rule. There is no body and no way to set the state explicitly, so read the rule first if the current state matters. Requires the automations:manage permission.
PUT /api/v1/automations/rules/{id}/toggle
Tags: Automations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Automation rule ID (path parameter) |