Features
5 functions, invoked through the cpanel_uapi tool.
cpanel_uapi(service_id, module="Features", function, params). Live availability depends on the cPanel features JetHost has enabled on your account — call list_cpanel_operations to see what is active.get_feature_metadata GET#
Return cPanel account's features' metadata
This function lists the details of a cPanel account's available feature lists.
No parameters.
Response — normalized as { ok, data, errors[], warnings[] }; data is an array of:
has_feature GET#
Validate cPanel account's feature access
This function checks whether a cPanel account has access to a feature.
Response — normalized as { ok, data, errors[], warnings[] }; data contains:
Payload varies by call.
has_features_like GET#
Return whether queried features are enabled
This function allows you to search for cPanel account features and determine whether those features are enabled.
Response — normalized as { ok, data, errors[], warnings[] }; data contains:
list_features GET#
Return cPanel account's features
This function lists a cPanel account's features.
No parameters.
Response — normalized as { ok, data, errors[], warnings[] }; data contains:
Features available to the account. The key is a feature name and the value is whether the feature is installed. Note: This function returns features that third-party software or plugins provide.
list_features_like GET#
Return queried cPanel account features
This function allows you to search for enabled cPanel account features and lists those features in the returned payload.
Response — normalized as { ok, data, errors[], warnings[] }; data is an array of:
A list of enabled feature names that match the search pattern. Note: The function only returns enabled features.