Forum Discussion

journeymigration's avatar
journeymigration
Helpful | Level 5
2 years ago

Remove invitees from folders that don't have a Dropbox set up

If a folder has been shared with a member that doesn't have a Dropbox set up, is there a way to programmatically remove them? I'm currently get members of a shared folder as follows:

 

 

await dbxClient.Sharing.ListFolderMembersAsync(sharedFolderId, null, 1000);

 

 

I then go through each member and either change their permissions or remove them from the shared folder. This, however, only returns members and not invitees that have yet to set up a Dropbox. In theory, this person could set up a Dropbox down the road and then have access to a shared folder when they should no longer have access.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,945 PostsLatest Activity: 2 hours ago
351 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!