# Validate cPanel account's feature access

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

Endpoint: GET /Features/has_feature
Version: 11.138.0.10
Security: BasicAuth

## Query parameters:

  - `name` (string, required)
    The feature's name.
    Example: "autossl"

## Response 200 fields (application/json):

  - `apiversion` (integer)
    The version of the API.
    Example: 3

  - `func` (string)
    The name of the method called.
    Example: "has_feature"

  - `module` (string)
    The name of the module called.
    Example: "Features"

  - `result` (object)

  - `result.data` (object,null)

  - `result.errors` (array,null)
    List of errors if the API failed.

  - `result.messages` (array,null)
    A message about the feature's status.

Note:

The function only returns a message when the feature exists but
it is not enabled.

  - `result.metadata` (object)

  - `result.status` (integer,null)
    Whether the feature exists on the system.

* 1 — The feature exists on the system and it is enabled.
* 0 — The feature exists on the system, but the user does not have it.
* null — The feature is not installed on the system.
    Enum: 0, 1

  - `result.warnings` (array,null)
    List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.


