One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
BartonFunk
7 years agoNew member | Level 2
Need to give and remove permissions to folders via the API. Is this possible?
Hi
I'm having a web application built for my print company. End users can upload artwork files and design briefs and design contractors then need to be assigned to work on the projects. I need a system to do the following:
- Upload the End Users design files and design briefs to a newly created folder (one new folder per order/job)
- Give a contractor permission to access said folder.
- Remove access when the job is complete.
I'd like to do all of the above via the API. Point 1 is the easy bit, but what about 2 and 3? Can anyone help?
Thanks,
Chris
It sounds like you'd want to use:
2. /2/sharing/share_folder and /2/sharing/add_folder_member
3. /2/sharing/remove_folder_member (and/or optionally /2/sharing/unshare_folder)
Those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints.
- Greg-DB
Dropbox Staff
It sounds like you'd want to use:
2. /2/sharing/share_folder and /2/sharing/add_folder_member
3. /2/sharing/remove_folder_member (and/or optionally /2/sharing/unshare_folder)
Those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints.
- BartonFunkNew member | Level 2
That sounds great Greg. I'll discuss this with the developer. Thanks for your help.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,940 PostsLatest Activity: 23 hours ago
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!