cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Restricting access of team subfolder with the Dropbox API

Restricting access of team subfolder with the Dropbox API

Weri
New member | Level 2

Hey,

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 1

Greg-DB
Dropbox Staff

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).

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?