cPanel/Plugins
cPanel module

Plugins

2 functions, invoked through the cpanel_uapi tool.

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

can_show_promotions GET#

Enable plugin promotions

This function determines if plugin promotions show in cPanel.

pluginstringRequired
The plugin whose promotions to target. Note: The only valid value is 'koality', which targets Site Quality Monitoring.

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

can_show_promotionsinteger
Whether the plugin can show promotions. 1 — Can show promotions. 0 — Can not show promotions.
One of: 0 1

create_user GET#

Create third-party user

This function implements third-party user creation.

ParametersobjectOptional
The parameters required for the third-party account.

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

The returned data from a third-party API call.