Enable Or Disable EMQX Rule
emqx_toggle_ruleEnable or disable an EMQX rule to control data processing; disabling a rule stops dependent pipelines, so confirm downstream usage first.
Instructions
[DESTRUCTIVE] Switch a rule on or off.
Disabling a rule silently stops whatever pipeline depends on it — confirm which downstream system it feeds before turning it off.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enable | Yes | True to switch the rule on, False to switch it off. | |
| rule_id | Yes | Rule id to change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||