This function disables a ModSecurity™ rule.
Important:
When you disable the Web Server role, the system disables this function.
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ modsec_disable_rule \ config='modsec_vendor_configs/example.conf' \ id='1234567890'
{- "metadata": {
- "command": "modsec_disable_rule",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}