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.

Authorizations:
query Parameters
vendor_id
required
string

The ModSecurity vendor's unique short name.

Example: vendor_id=SomeVendor

Responses

Response Schema: application/json
object

Request samples

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

Response samples

Content type
application/json
{
  • "metadata": {
    • "command": "modsec_remove_vendor",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}