Disable ModSecurity vendor rules

This function disables a ModSecurity™ vendor rule set.

Note:

This function will not disable vendor configuration files that you have individually enabled.

Important:

When you disable the Web Server role, the system disables this function.

SecurityBasicAuth
Request
query Parameters
vendor_id
required
string

The vendor's unique short name.

Example: vendor_id=SomeVendor
Responses
200

HTTP Request was successful.

Response Schema: application/json
data
object
object
get/modsec_disable_vendor
Request samples
whmapi1 --output=jsonpretty \
  modsec_disable_vendor \
  vendor_id='SomeVendor'
Response samples
application/json
{
  • "data": { },
  • "metadata": {
    • "command": "modsec_disable_vendor",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}