Description

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.

Examples 




https://hostname.example.com:2087/cpsess##########/json-api/modsec_remove_vendor?api.version=1&vendor_id=SomeVendor 




https://hostname.example.com:2087/cpsess##########/xml-api/modsec_remove_vendor?api.version=1&vendor_id=SomeVendor




whmapi1 modsec_remove_vendor vendor_id=SomeVendor



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




 <result>
  <data/>
  <metadata>
    <version>1</version>
    <reason>OK</reason>
    <result>1</result>
    <command>modsec_remove_vendor</command>
  </metadata>
</result>



Parameters

ParameterTypeDescriptionPossible valuesExample
vendor_id string

Required

The ModSecurity vendor's unique short name.

A valid string.
SomeVendor

Returns

This function only returns metadata.