# Return queried cPanel account features

This function allows you to search for enabled cPanel account features and lists those features
in the returned payload.

Endpoint: GET /Features/list_features_like
Version: 11.136.0.4
Security: BasicAuth

## Query parameters:

  - `pattern` (string, required)
    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.
    Example: "mail"

  - `is_regex` (integer)
    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
    Enum: 0, 1

## Response 200 fields (application/json):

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

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

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

  - `result` (object)

  - `result.data` (array,null)
    A list of enabled feature names that match the search pattern.

Note:

The function only returns enabled features.
    Example: ["webmail","emailauth"]

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

Common errors include missing pattern parameter or invalid regular expression syntax.

  - `result.messages` (array,null)
    List of messages generated by the API.

  - `result.metadata` (object)

  - `result.status` (integer)
    Whether the API call was successful.
* 1 - Success. Features were searched and results returned.
* 0 - Failed. Check the errors field for details (e.g., missing pattern).
    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.


