Remove ModSecurity vendor

This function removes a ModSecurity™ vendor. When you call this function, the system removes the vendor's includes, disablement directives, configuration files, and metadata file.

Important:

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

SecurityBasicAuth
Request
query Parameters
vendor_id
required
string

The ModSecurity vendor's unique short name.

Example: vendor_id=SomeVendor
Responses
200

HTTP Request was successful.

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