Disable ModSecurity vendor configuration files

This function disables a ModSecurity™ vendor's configuration files.

Important:

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

Authorizations:
query Parameters
vendor_id
required
string

The vendor's unique short name.

Example: vendor_id=SomeVendor

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  modsec_disable_vendor_configs \
  vendor_id='SomeVendor'

Response samples

Content type
application/json
{
  • "data": {
    • "outcomes": [
      • {
        • "active": 1,
        • "config": "modsec_vendor_configs/SomeVendor/example.conf",
        • "exception": "This is an error message.",
        • "ok": 0
        }
      ]
    },
  • "metadata": {
    • "command": "modsec_disable_vendor_configs",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}