RemoveFileShare(file, user) Last updated: 08. Mar 2023

API only function

Removes / terminates a users access to a specific file.

Parameters

Name Type Description
file string Absolute path to file to remove a user from.
user string (email) Email to user to remove access.

Returns

True if successful, false if not.

Example

Code example (JS)

JS is normal JavaScript either running in the browser or on the Docly™ server.
docly.removeFileShare("test file", "test@docly.net");