The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XML API - Change Main Domain Name?

Discussion in 'cPanel Developers' started by SomeoneX, Sep 4, 2009.

  1. SomeoneX

    SomeoneX Member

    Joined:
    Aug 24, 2008
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Is it possible to use WHM's XML-API to change an account's domain name?

    Thanks.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Yes, you can use use modifyacct and in the domain parameter, specify the new domain name for that account.
     
  3. SomeoneX

    SomeoneX Member

    Joined:
    Aug 24, 2008
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Thanks :)

    I just realized that I need to pass all the variables (max sub, etc...) and not just the new domain :D
     
Loading...

Share This Page