API: Unsharing files and folders
| Target URL | /api.php/Drive/files/unshare |
| Required scope | share |
| HTTP Method | GET/POST |
| Output format | JSON |
Request Parameters Reference
| Parameter | Type | Required | Description |
|---|---|---|---|
| path | string | Yes | The FileRun path of the file or the folder. See this page |
| puid | string | Yes if no "gid" | Public ID of the FileRun user to be removed from the share. |
| gid | integer | Yes if no "puid" | ID of the FileRun group to be removed from the share. |
Note that the call will return an error if the file or folder was not shared with the specified user or group.