Document
Remove document View permissions from a user or other entity.
Specify the ID of the entity to unshare with in the eid field, and specify the type of entity being identified in the entryType field. For example, to unshare a document with a company, you would use 1 as the entryType value and the companyId as the entityId.
delete/documents/{did}/share/{eid}
Path parameters
didstring required
ID of the document to unshare.
eidstring required
ID of the entity to remove permissions for. Uses userId, companyId, teamId, documentId, or applicationId, depending on the entryType value.
Query parameters
entryTypeinteger
0 (user) | 1 (company) | 2 (team) | 3 (document) | 4 (application) | 5 (connection_user)
Response
default response