Skip to main content
Version: 2.2.1

deleteUser

This method allows deactivating a user. To do so, it is necessary to follow the standard documented below.

Java class
Requestweb\wwwroot\ws\java\admin\DeleteUserRequestType.java
Returnweb\wwwroot\ws\java\admin\DeleteUserResponseType.java

Request:

ID #RequiredDescription
IDXUser ID.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:deleteUser>
<urn:ID>?</urn:ID>
</urn:deleteUser>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
ReturnSUCCESS: Primary key of the user (CDUSER)
FAILURE: -1
StatusSUCCESS: SUCCESS
FAILURE: FAILURE
DetailSUCCESS: Record(s) deleted
FAILURE: message regarding the error that occurred.
CodeSUCCESS: 1.
FAILURE: Code regarding the error that occurred:
â–ª 7 - Null user ID.
â–ª 12 - Inexistent user.