Skip to main content
Version: 2.2.3

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.