Update automation rule
Updates an existing automation rule. Accepts any subset of creation fields. Common use: flip status between enabled/disabled.
Authorization
authorization<token>Use your API key here.
In: header
Request Body
application/jsonOptionalnamestringMinimum length:
1statusstringValue in:
"enabled" | "disabled"site_idsarray<string>filterobjectconditionobjectscheduleobjectfrequencystringValue in:
"every_5_min" | "every_15_min" | "every_hour"actionsarray<object>stop_conditionobjectOptional stop condition. PATCH semantics: omit the field to leave both sub-fields unchanged; send null for the whole object to clear both; send null for a single sub-field to clear just that one; send a number to set it. period_minutes maps 1:1 to the underlying cooldownMinutes (no lossy conversion).
Path Parameters
rule_idRequiredstringRule ID
Default Response