This function disables a ModSecurity™ vendor's configuration files. |
Examples
|
Parameter | Type | Description | Possible values | Example |
---|---|---|---|---|
vendor_id | string | Required The vendor's unique short name. | A valid string. | SomeVendor |
Return | Type | Description | Possible values | Example | |
---|---|---|---|---|---|
outcomes | array of hashes | An array of hashes that contains elements that represent the outcome of each attempt to disable operation. | Each hash includes the | ||
| Boolean | Whether the configuration file is active. This function returns this value in the |
| 1 | |
| Boolean | Whether the function successfully disabled the configuration file. This function returns this value in the |
|
1
| |
| string | The configuration file path. This function returns this value in the | A valid path, relative to the |
| |
| string | If the function fails to disable the configuration file, this return contains the error message. This function returns this value in the
| A valid string. | This is an error message. |
Function information
About WHM API 1Find a functionRelated functions |