We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here. 

Forum Discussion

Ashley B.15's avatar
Ashley B.15
Helpful | Level 7
6 years ago

Remove Shared Folder Invitee

I've been working on Sharing of folders using the API, but can not see how you remove a member who has not added it to their dropbox This is the message in the UI "name@domain.com has not added thi...
  • Greg-DB's avatar
    6 years ago

    The /2/sharing/remove_folder_member endpoint (or corresponding native method) would be the right way to remove a member from a folder, whether or not they've mounted it. (Or, if operating on the recipient themselves, /2/sharing/relinquish_folder_membership.)

    That 'no_explicit_access' error should indicate "The target member only has inherited access to the shared folder". For example, they only have access by virtue of having access to a higher level folder, meaning you can't remove just the lower folder.

    Can you print out the full error object/message? The nested `MemberAccessLevelResult` may contain more useful information.

    If that doesn't seem to be the case though, please share some sample calls that produce this unexpected error though so we can look into it.

    Also, sharing individual files is a different piece of functionality than sharing folders, and sharing individual files does only support view-only access. For that, you can add members to files using /2/sharing/add_file_member, and remove them using /2/sharing/remove_file_member_2

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 2 months ago
325 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!