Skip to main content
Version: 2.2.2

deleteAccessPermission

This method allows removing the access permission to a specific document. To use it, it is necessary to follow the standard documented below:

Java class
Requestweb/wwwroot/ws/java/document/DeleteAccessPermissionRequestType.java
Returnweb/wwwroot/ws/java/document/DeleteAccessPermissionResponseType.java

Request:

ID #RequiredDescription
IDDOCUMENTXDocument ID #.
IDUSERXUser ID.
USERTYPEXUser type:
â–ª 1 - User;
â–ª 2 - Department;
â–ª 3 - Position;
â–ª 4 - Department/Position;
â–ª 5 - Team.
â–ª6 - All.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:document">
<soapenv:Header/>
<soapenv:Body>
<urn:deleteAccessPermission>
<!--You may enter the following 3 items in any order-->
<urn:iddocument>?</urn:iddocument>
<urn:iduser>?</urn:iduser>
<urn:usertype>?</urn:usertype>
</urn:deleteAccessPermission>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: 1: Operation successfully performed.
FAILURE: 0: Message with the error found.