Additional Parameters

    password(required)[string] - the signed in user's password, should be SHA1 encrypted
    userToDelete[string] - semi-colon separated list of userIds to delete e.g. 100;1001;2002

       

   
   
deleteUser
Description
Delete an existing user

If the user had no files created, they are removed from the database.
If they had files, the files and user are marked as deleted, but could be recovered later by just2easy limited if this deletion was a mistake.

Returns
returns json response in the following format

<success>x users deleted</success>

<error>numerous reasons for errors</error>


NOTE users can only be deleted by Admin or Teacher logged on in the same account.