We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Poui
2 years agoHelpful | Level 5
How to create a folder in a team shared folder and make it accessible to a small part of the team
Hi, I am currently using Make (a no code platform) to automate the creation of a folder in a shared folder after the start of a new project. The issue is that everyone (30 ~) have access to that fol...
Здравко
2 years agoLegendary | Level 20
Poui wrote:... automate the creation of a folder in a shared folder after the start of a new project.
... I don't know which endpoint I can use to remove the access of the rest of the team while only giving access to the concerned people. ...
Hi Poui,
There is no way to do that on "a folder". You need another shared folder (or subfolder) - a shared folder for every project actually. Member participation can be driven per shared folder and affect all nested regular folders. In such a way you can add only people need access to particular content and refuse derived access if needed (when the particular shared folder is nested in another shared folder). 😉 That's it.
Hope this gives direction.
- Poui2 years agoHelpful | Level 5
Hi Здравко,
So after the creation of the folder, I need to share it through this endpoint
https://api.dropboxapi.com/2/sharing/share_folder
with the
"access_inheritance": "no_inherit"
in the body of the request,
I will then use this endpointhttps://api.dropboxapi.com/2/sharing/add_folder_member
with all the members that need to access that folder in the body
- Здравко2 years agoLegendary | Level 20
Yes, that's one of the scenarios I mentioned above (when you are nesting shared folders and need to exclude derived/inherited access - when parent folder has more members than needed).
Poui wrote:Hi Здравко,
So after the creation of the folder, I need to share it ...
By the way, you can do it in one call. When you share a non existing folder, it's created automatically. 😉
- Poui2 years agoHelpful | Level 5
Hi, thanks again for your help but I have two questions.
1. When I try to share a non-existing folder, i get this error instead of it creating like you said :{ "error_summary": "no_permission/...", "error": { ".tag": "no_permission" }, "user_message": { "locale": "en", "text": "You don’t have permission to perform this action." } }
2. despite removing the access inheritance of the folder, my team still have a folder on their dropbox explorer of that folder. It doesn't disappear.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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!