cPanel WHM icon

cPanel WHM

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

Actions262

Domain → Start additional domain conversion

AI-generated

Summary

Initiate the conversion of an addon domain into a separate cPanel account's main domain using the WHM API.

Inputs

  • Domain (required) — The addon domain to convert into an account's main domain.
  • Username (required) — The username of the account to which the addon domain currently belongs.
  • Additional Fields — Optional parameters including database copy/move instructions and the hosting package name for the new account.

Output shape

a JSON object containing the API response from WHM on the conversion request status

The response contains information about the success or failure of the conversion operation and may include details about moved/copied databases or assigned package. Error information may also be present if the operation fails.

Links

Discussion