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 problem

Discussion in 'cPanel Developers' started by hellomoto, May 9, 2008.

  1. hellomoto

    hellomoto Registered

    Joined:
    May 9, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I have a problem about xml-api connection. There is not enough docs..
    I can create new email in cpanel . but cannot change password or quota:(
    Can anyone tell me functions?

    For example : below code is create email:
    /xml-api/cpanel?user=nick&xmlin=
    <cpanelaction>
    <module>Email </module>
    <func>addpop</func>
    <apiversion>1</apiversion>
    <args>$user</args>
    <args>$password</args>
    <args>$quota</args>
    <args>$domain</args>
    </cpanelaction>

    what about others?
     
  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
  3. hellomoto

    hellomoto Registered

    Joined:
    May 9, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    nick doesnt exist on my server..i use this name in my connections,there isnt any problem about..
    thanks
     
  4. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    18
    The name used is the cPanel user that the command is to be executed as. I suggest reading my presentation from last year's cPanel Seminar for more info: http://www.cpanel.net/docs/seminar07/XML_API.pdf
     
Loading...

Share This Page