cPanel/Users
cPanel module

Users

1 functions, invoked through the cpanel_uapi tool.

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

change_password GET#

Update cPanel account password

This function updates the cPanel account's password.

newpassstringRequired
The new password.
oldpassstringRequired
The current password.
enabledigestintegerOptional
Whether to use Digest Authentication. 1 - Use Digest Auth. 0 - Do not use Digest Auth. Note: * Windows® Vista, Windows® 7, Windows® 8, and Windows® 10 require that you use Digest Authentication in order to access your Web Disk over a clear text, unencrypted connection.
enablemysqlintegerOptional
Whether to update the cPanel account's MySQL password. 1 - Update MySQL password. 0 - Do not update MySQL password.

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

Payload varies by call.