Is it possible to enable/disable a rule in an existing rule set of a MWG 7.5.x using the REST interface?
I already looked into the description of the REST interface but couldn't figure out an appropriate method to do it.
Thanks for any hint on this.
You need to know the rulesetID and use the paths:
curl -i -b cookies.txt -X POST "$REST/rulesets/rulegroups/327089/enable"
curl -i -b cookies.txt -X POST "$REST/rulesets/rulegroups/327089/disable"
This allows only to enable a ruleset or rulegroup, not a dedicated rule within a group....
How can I do this.
I have both ids. (ruleset and rule), but I do not find a way to define the right path....
(isn't there any good REST documentation out there?)