Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Assign nameservers when creating new account

Discussion in 'cPanel Developers' started by uzor, Jul 27, 2011.

  1. uzor

    uzor Member

    Joined:
    Jul 14, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    Hello,
    Is it possible to create custom nameservers when creating an account
    through xml api?

    EDIT:
    I found this function: setresellernameservers.
    It looks like what I need, but it doesn't work. All I get is "Specified user is not a reseller." but I'm 100% sure that user is a reseller because I create it just before calling that function.
     
    #1 uzor, Jul 27, 2011
    Last edited: Jul 27, 2011
  2. uzor

    uzor Member

    Joined:
    Jul 14, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    Anyone? :(
     
  3. uzor

    uzor Member

    Joined:
    Jul 14, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    Fixed. Something wrong with the xml api class.
     
  4. MattDees

    MattDees Well-Known Member

    Joined:
    Apr 29, 2005
    Messages:
    416
    Likes Received:
    1
    Trophy Points:
    243
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Was there a bug in the xml-api class? If so I'd like to know about it so that I can fix it in the github repo.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice