latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

ModSecurity
Rule Vendor Settings

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.

get/modsec_remove_vendor

Query parameters

vendor_idstring required
Example:SomeVendor

The ModSecurity vendor's unique short name.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "modsec_remove_vendor",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}