Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    May 2007
    Posts
    50

    Default Can create, but not delete account?!

    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. #2
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default

    Quote Originally Posted by mstuebner View Post
    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?

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

    Should be

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

  3. #3
    Member
    Join Date
    May 2007
    Posts
    50

    Default

    Quote Originally Posted by cpanelnick View Post
    I think you meant to put a ? not a &.

    Should be

    https://ns.domain.net:2087/xml-api/removeacct?user=max
    Great! So, never copy from documentation... (http://www.cpanel.net/plugins/xmlapi/removeacct.html)

    Thank you.

  4. #4
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    http://www.cpanel.net/plugins/xmlapi/removeacct.html
    EXAMPLES

    Calling this URL in WebHost Manager:

    /xml-api/removeacct&user=pigdogo

    --------------------------------------------------

    I gotta admit, it drives me nuts when the documentation is wrong.
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  5. #5
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default

    Quote Originally Posted by Website Rob View Post
    http://www.cpanel.net/plugins/xmlapi/removeacct.html
    EXAMPLES

    Calling this URL in WebHost Manager:

    /xml-api/removeacct&user=pigdogo

    --------------------------------------------------

    I gotta admit, it drives me nuts when the documentation is wrong.
    I submitted it to our doc team on friday so it should be fixed on monday.

  6. #6
    Member
    Join Date
    Nov 2005
    Posts
    13

    Default

    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

  7. #7
    Member
    Join Date
    Dec 2001
    Posts
    746

    Default

    Quote Originally Posted by steelaz View Post
    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
    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.

Similar Threads & Tags
Similar threads

  1. Replies: 2
    Last Post: 06-08-2011, 12:26 AM
  2. Create and delete ftp account and subdomains
    By nazoreen in forum cPanel Developers
    Replies: 15
    Last Post: 06-22-2009, 05:33 PM
  3. I Can´t Create ou delete account
    By audisat in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 06-09-2007, 12:48 AM
  4. slow during create and delete accounts
    By qadelq in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-01-2006, 08:29 AM
  5. Cannot create or delete databases
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-19-2004, 11:17 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube