Disable ModSecurity vendor updates

This function disables automatic updates for a ModSecurity™ vendor.

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=example

Responses

Response Schema: application/json
data
object
object

Request samples

whmapi1 --output=jsonpretty \
  modsec_disable_vendor_updates \
  vendor_id='example'

Response samples

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