Updates an automation rule by rule_id for the authenticated tenant. Authentication uses x-api-key with optional x-tenant-id; RBAC requires automation:update. The controller validates partial updates with updateAutomationRuleSchema and the service revalidates trigger/action config when changed, updates automation_rules, and emits automation.rule.updated + audit log events. Missing rules currently surface as 500.
Content type: application/json · schema UpdateAutomationRuleRequest
activeinactivedrafterrorlownormalhighcriticaltime_basedevent_basedcondition_basedmanualrecurringwebhookequalsnot_equalsgreater_thanless_thangreater_than_or_equalless_than_or_equalcontainsnot_containsstarts_withends_withinnot_inexistsnot_existsregex_matchstringnumberbooleandatearrayobjectandoremail_notificationsms_notificationwebhook_calldatabase_updateticket_creationticket_updateproject_updatetime_entry_creationinvoice_generationcustom_scriptworkflow_executionsystem_commandSuccess response 200 · schema AutomationRuleResponse
activeinactivedrafterrorlownormalhighcriticaltime_basedevent_basedcondition_basedmanualrecurringwebhookequalsnot_equalsgreater_thanless_thangreater_than_or_equalless_than_or_equalcontainsnot_containsstarts_withends_withinnot_inexistsnot_existsregex_matchstringnumberbooleandatearrayobjectandoremail_notificationsms_notificationwebhook_calldatabase_updateticket_creationticket_updateproject_updatetime_entry_creationinvoice_generationcustom_scriptworkflow_executionsystem_command