| Target URL | /api.php/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. |
| uid | integer | Yes if no "gid" | ID of FileRun user to be removed from the share. |
| gid | integer | Yes if no "uid" | ID of 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.