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.

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:
    1
    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:
    1
    Anyone? :(
     
  3. uzor

    uzor Member

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

    MattDees cPanel Product Owner
    Staff Member

    Joined:
    Apr 29, 2005
    Messages:
    417
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
Loading...
Similar Threads - Assign nameservers creating
  1. Jinkers
    Replies:
    13
    Views:
    709

Share This Page