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.

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:
    6
    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,426
    Likes Received:
    2
    Trophy Points:
    38
    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:
    6
  4. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    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:
    1
    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:
    18
    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