Folder
Revoke folder access
Remove the direct access of users, the access of user groups and the pending invites of emails to a folder.
POST
cURL
Removes the direct access of users (
userIds), the access of user groups (userGroupIds) and the pending invites of emails (emails) to a folder, as listed by the get folder access endpoint. Nobody is notified.
The member and public link permissions are not changed, so a user may keep access through them or through a group. The last user with FullAccess cannot be removed while memberPermission is not FullAccess: the users of the request are removed together, so when this rule blocks them, none of them is removed and each gets the failed outcome.
Each entry gets its own outcome, so one entry that fails does not stop the others:
revoked: the access or pending invite was removed.failed: the entry could not be applied, for instance the user has no direct access to the folder, the user group has no access to it, or the email has no pending invite.errorexplains why.
memberPermission is NoAccess: they are reported as not found.Body
application/json
