Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hey,
I am using the .NET SDK and I would like to remove a member from a shared folder (on a team namespace). I am the one who created the folder
dbt.AsAdmin(teammemberID).Sharing.RemoveFolderMemberAsync(SharedFolderId, new MemberSelector.Email(MemberMail), true);
I am using the dbmid of the Team Admin and have tried with AsMember as well. I didn't find information in the documentation - if removing members from shared folders on a team member is impossible, so am I missing something ?
Thank you in advance.
That's the correct method for removing a member from a shared folder. Is it not working for you? Please share whatever unexpected error or output you get from it.
Also, can you clarify if you're trying to remove them from a shared folder, or a shared folder in a team folder, or a team folder itself?
Hey,
I get a "no_permission" error (You don’t have permission to perform this action.). I am trying to remove a member from a shared folder - "Project F". That shared folder is in another shared folder "Projects" that is located on the team namespace (root) of the dropbox.
Thanks! That's helpful. It looks like this happens when setting the 'leaveACopy' parameter to true. We'll look into it, but for now, you can work around this by setting that to 'false'.
Thank you for the solution Greg. Would you be able to tell me if this will be investigated soon or give me some estimate ?
Thanks!
This is open with the team, but I can't offer a timeline unfortunately. I'll follow up here once I have an update.
I heard back from the team, and they confirmed that this is the expected behavior. For team-owned content like this, you can't leave a copy with the removed shared folder member. I've asked them to update the documentation to clarify this.
Hi there!
If you need more help you can view your support options (expected response time for a 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!