cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Account → Update cPanel account password

AI-generated

Summary

Update the password of a specified cPanel account and optionally synchronize the MySQL password and configure Digest Authentication settings.

Inputs

  • User (required) — The username of the cPanel account whose password you want to change.
  • Password (required) — The new password to assign to the specified cPanel account.
  • Db Pass Update — Option to also update the account's MySQL password to match the new password; '1' to update, '0' to leave unchanged.
  • Digestauth — Option to enable or disable Digest Authentication for the account; '1' to enable, '0' to disable. If unspecified, the current setting remains.

Output shape

a JSON object representing the result of the password update request from the cPanel WHM API

The output reflects the API response indicating success or failure of the password update and related options. Errors are returned as per WHM API conventions.

Links

Discussion