v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Account Enhancements

Validate Account Enhancement assignment

This function returns whether a cPanel account has a specific Account Enhancement.

get/AccountEnhancements/has_enhancement

Query parameters

idstring required
Example:sample-enhancement-id

The identifier for a specific Account Enhancement.

Note:

To retrieve a list of all Account Enhancements IDs on the server, run the WHM API 1 list_account_enhancements function.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "list",
  "module": "AccountEnhancements",
  "result": {
    "data": 1,
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}
All 657 operations