removeFolderShare(path, user) Last updated: 26. Apr 2026
API only function
Removes / terminates a user's access to a specific folder.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string | Absolute path to folder 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.removeFolderShare("/", "test@docly.net");