Validate cPanel account's feature access

This function checks whether a cPanel account has access to a feature.

SecurityBasicAuth
Request
query Parameters
name
required
string

The feature's name.

Example: name=autossl
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Features/has_feature
Request samples
uapi --output=jsonpretty \
  --user=username \
  Features \
  has_feature \
  name='autossl'
Response samples
application/json
{
  • "result": {
    • "data": null,
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 0,
    • "warnings": null
    }
}