---
title: "Return EasyApache 4 profiles"
method: GET
path: "/ea4_list_profiles"
tags: ["EasyApache", "EasyApache Settings"]
---

# Return EasyApache 4 profiles

`GET /ea4_list_profiles`

This function returns a list of all [EasyApache 4](https://docs.cpanel.net/ea4/) profiles and the packages that each profile provides.

 **Important:**

 When you disable the [Web Server](https://docs.cpanel.net/knowledge-base/general-systems-administration/how-to-use-server-profiles/#roles) role, the system **disables** this function.

## Response `200`

HTTP Request was successful.

- object
  - `data` object
    - `cpanel` object[] — An array of cPanel & WHM-provided EasyApache 4 profile settings objects.
      - `active` 0 | 1 — Whether the cPanel & WHM-provided EasyApache 4 profile's settings are active. * `1` - Active. * `0` - Inactive.
      - `desc` string — A description of the profile.
      - `name` string — The profile name.
      - `pkgs` string[] — An array of RPM packages that the profile includes.
      - `tags` string[] — Labels that highlight key attributes of a profile.
      - `validation_data` object
        - `not_on_server` string[] — An array of packages in the profile that do not exist in any of the server's yum repositories.
      - `version` string — The profile's current version ID.
    - `custom` object[] — An array of custom settings objects. **Note:** This function returns the custom array when a system administrator-created profile exists.
      - `desc` string — A description of the profile.
      - `name` string — The profile name.
      - `path` string — The file name of the profile.
      - `pkgs` string[] — An array of RPM packages that the profile includes.
      - `tags` string[] — Labels that highlight key attributes of a profile.
      - `validation_data` object
        - `not_on_server` string[] — An array of packages in the profile that do not exist in any of the server's yum repositories.
      - `version` string — The profile's current version ID.
  - `metadata` object
    - `command` string — The method name called.
    - `reason` string — The reason the API function failed when the `metadata.result` field is 0. This field may display a success message when a function succeeds.
    - `result` 0 | 1 — - 1 - Success. - 0 - Failed: Check the reason field for more details.
    - `version` integer — The version of the API function.

---

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