Description
This function disables ModSecurity™ on specified domains.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
domains |
string |
Required The domains.
|
A comma-separated list of valid domains that the cPanel account owns. Important: The authenticated cPanel account must own these domains. |
example.com,dallas.example.com,galveston.example.com |
Returns
Return |
Type |
Description |
Possible values |
Example |
domain |
string |
The domain. |
A valid domain on the cPanel account. |
example.com |
dependencies |
array |
An array of domains that your changes to a selected domain affect. |
A list of valid domains on the cPanel account. |
"arkansas.com", "kansas.com", "nevada.com", "newmexico.com", "texas.com" |
type |
string |
The domain type. |
|
main |
searchhint |
string |
A comma-separated list of domain-related search terms. |
A comma-separated list of string values. |
|
enabled |
Boolean |
Whether ModSecurity is enabled on the domain. |
|
1 |