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.

Whm Api

Discussion in 'General Discussion' started by DBJoshua, Apr 10, 2008.

  1. DBJoshua

    DBJoshua Active Member

    Joined:
    Jun 7, 2007
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    can the WHM API be used to read reseller's domains, and assign an IP address (that's already on the server)?
     
  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
    The old WHM API did not support that, but the new XML API does. In the XML API, simply use the listresellers to list the usernames of resellers, which you can then compare to the output of listaccts. Documentation available at:

    http://www.cPanel.net/plugins/xmlapi

    Regarding assigning the IPs:

    At this time neither the old WHM API nor the new XML API support this functionality.

    There is a feature request for this and similar functionality at: http://bugzilla.cpanel.net/show_bug.cgi?id=5780
     
Loading...

Share This Page