Known issues updated. Learn more

Restricting access of team subfolder with the Dropbox API

New member | Level 2


I am developing an app with the Dropbox API ( .NET SDK) and I am a team admin in the Dropbox using the app.

I noticed for a subfolder of a team folder that I can remove the group access of the team.

My question is: Is there a way to remove team access (all access except mine) for a shared (team folder) via the API ? If not, is it possible to create a folder within a team folder, that only I can access and share (via the API) ? 

Thanks in advance!

1 Reply

Re: Restricting access of team subfolder with the Dropbox API


Yes, you can remove the team's access to a shared folder in the team space by calling SetAccessInheritanceAsync and setting the accessInheritance parameter to NoInherit. Likewise, you can do the same when creating a new shared folder using the same parameter and value on ShareFolderAsync.

Either way, the team will no longer inherit access to the sub-folder via the team folder (and you can add specific individual/group access as desired).

Developer & API Discussions

Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.

Not the right discussion for you? Find out what else our Community has to say about Developer & API Discussions.

Or, search our Help Center for even more.

Who's talking
Top contributors to this post