cPanel WHM icon

cPanel WHM

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

Actions262

IP & Network → Update domain or cPanel account IP address

AI-generated

Summary

Update the IP address of a specific domain or cPanel user account by specifying the new IPv4 address along with either the domain name or the username.

Inputs

  • Ip (required) — The IPv4 address to assign to the site or user's account.
  • Domain — The domain name associated with the account. Either Domain or User must be provided.
  • User — The cPanel username of the account. Either User or Domain must be provided.

Output shape

a JSON object containing the WHM API response indicating success or failure of the IP address update operation.

The response may include status or error fields as per WHM API conventions. Ensure to provide either the User or Domain input; omitting both will cause the operation to fail.

Links

Discussion