cPanel/Resellers
cPanel module

Resellers

1 functions, invoked through the cpanel_uapi tool.

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

list_accounts GET#

Return reseller's cPanel accounts

This function lists all of a reseller's cPanel accounts.

No parameters.

Response — normalized as { ok, data, errors[], warnings[] }; data is an array of:

domainstring
The cPanel account's domain.
selectstring
Whether the cPanel account's user is currently logged in. 1 — Logged in. An empty string — Not logged in.
One of: 1
userstring
The cPanel account's username.