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!

Can create, but not delete account?!

Discussion in 'cPanel Developers' started by mstuebner, Jul 21, 2007.

  1. mstuebner

    mstuebner Well-Known Member

    Joined:
    May 13, 2007
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    156
    Hello,

    meanwhile the project to implement remote function to handle accounts is progressing well.

    Just today I found that I cannot terminate accounts using the xml-api! Even not when I add the following to the URL while I'm logged-in into WHM:

    /xml-api/removeacct&user=nameOfUser

    Always I get (have to translate from german):

    XML-Verarbeitungsfehler: Kein Element gefunden
    Adresse: https://ns.domain.net:2087/xml-api/removeacct&user=max
    Zeile Nr. 2, Spalte 1:

    XML-Verarbeitungsfehler: No element found
    Address: https://ns.domain.net:2087/xml-api/removeacct&user=max
    Row No. 2, Column 1:

    So REMOVEACCT doesn't work from remote and not from WHM (v11). Any known reason for that?
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,480
    Likes Received:
    29
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider

    I think you meant to put a ? not a &.

    Should be

    https://ns.domain.net:2087/xml-api/removeacct?user=max
     
  3. mstuebner

    mstuebner Well-Known Member

    Joined:
    May 13, 2007
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    156
  4. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,504
    Likes Received:
    1
    Trophy Points:
    318
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,480
    Likes Received:
    29
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    I submitted it to our doc team on friday so it should be fixed on monday.
     
  6. steelaz

    steelaz Member

    Joined:
    Nov 19, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    Wow!!!

    This post is from 2007 and documentation still haven't been fixed. I'm glad I found this, also copied example from documentation and couldn't find why response from WHM is empty string.

    Shame on documentation team :eek:
     
  7. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    318
    Sorry about that. This fix request must have been emailed directly to the documentation person at the time who is no longer with us. This has been updated.
     
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