---
title: "Return whether queried features are enabled"
method: GET
path: "/Features/has_features_like"
tags: ["Features", "cPanel Features"]
---

# Return whether queried features are enabled

`GET /Features/has_features_like`

This function allows you to search for cPanel account features and determine whether those features
are enabled.

## Query parameters

- `pattern` string, required
- `is_regex` 0 | 1

## Response `200`

HTTP Request was successful.

- object
  - `apiversion` integer — The version of the API.
  - `func` string — The name of the method called.
  - `module` string — The name of the module called.
  - `result` object
    - `data` object, nullable — Object containing the result of the feature search.
      - `has_matching_features` 0 | 1 — Whether any features match the search pattern and are enabled. * `1` - At least one matching feature is enabled. * `0` - No matching features are enabled (either no matches or all matches are disabled).
    - `errors` string[], nullable — List of errors if the API failed. Common errors include missing pattern parameter or invalid regular expression syntax.
    - `messages` string[], nullable — List of messages generated by the API.
    - `metadata` object
    - `status` 0 | 1 — 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).
    - `warnings` string[], nullable — List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.

---

[API](https://skmtc.net/cpanel/apis/cpanel-uapi.md) · [All operations](https://skmtc.net/cpanel/apis/cpanel-uapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/cpanel-uapi/revisions/632e2f8e6d04/schema)
