This function removes a global ModSecurity™ configuration directive.
Important:
When you disable the Web Server role, the system disables this function.
setting_id required | integer The setting's ID. For a list of available settings and their IDs, call the Example: setting_id=3 |
data | object |
object |
whmapi1 --output=jsonpretty \ modsec_remove_setting \ setting_id='3'
{- "data": { },
- "metadata": {
- "command": "modsec_remove_setting",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}