Module: accounts#
list accounts
get account
set account password OLDPASSWORD NEWPASSWORD
COMMANDS
list accounts
List basic information of the main cPanel account.
Example
$ cpanel list accounts
See a sample of the JSON result data at: https://api.docs.cpanel.net/specifications/cpanel.openapi/account-information/resellers-list_accounts
get account
Show detailed information of the main account.
Example
$ cpanel get account
See a sample of the JSON result data at: https://api.docs.cpanel.net/specifications/cpanel.openapi/account-information/variables-get_user_information
set account password OLDPASSWORD NEWPASSWORD
Change the authenticated cPanel account password from OLDPASSWORD to NEWPASSWORD. This does not update the account’s MySQL password. The alias ‘change account password’ is also supported.
Example
$ cpanel set account password 'old-secret' 'new-secret'
See a sample of the JSON result data at: https://api.docs.cpanel.net/specifications/cpanel.openapi/account-management/usermanager-change_password