Features
cPanel Features
Return whether queried features are enabled
This function allows you to search for cPanel account features and determine whether those features are enabled.
get/Features/has_features_like
Query parameters
patternstring required
Example:mail
The feature's name that you wish to search.
Note:
To use a regular expression, you must set the is_regex parameter's value to true.
is_regex0 | 1
Whether the pattern parameter's value is a regular expression.
- 1 - The pattern parameter's value is a regular expression.
- 0 - The pattern parameter's value is not a regular expression
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "has_features_like",
"module": "Features",
"result": {
"data": {
"has_matching_features": 1
},
"status": 1
}
}