DomainRecommendations
Check whether Domain Recommendations is enabled
This function returns the enablement status of the Domain Recommendations feature on the server.
Note:
This function requires the domain_recommendation feature. If the cPanel account does not have this feature, the function returns an error.
get/DomainRecommendations/is_enabled
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "is_enabled",
"module": "DomainRecommendations",
"result": {
"data": {
"is_enabled": 1
},
"metadata": {
"transformed": 1
},
"status": 1
}
}