cPanel/AccountEnhancements
cPanel module

AccountEnhancements

2 functions, invoked through the cpanel_uapi tool.

scope cpanel:uapi
Call any function with cpanel_uapi(service_id, module="AccountEnhancements", function, params). Live availability depends on the cPanel features JetHost has enabled on your account — call list_cpanel_operations to see what is active.

has_enhancement GET#

Validate Account Enhancement assignment

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

idstringRequired
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 — normalized as { ok, data, errors[], warnings[] }; data contains:

1 - The Account Enhancement is assigned to the cPanel account. 0 - The Account Enhancement is not assigned to the cPanel account.

list GET#

Return all cPanel account's Account Enhancements

This function lists a cPanel account's Account Enhancements.

No parameters.

Response — normalized as { ok, data, errors[], warnings[] }; data contains:

An object that contains the Account Enhancements that the cPanel account can access