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.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

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

Need to give and remove permissions to folders via the API. Is this possible?

Need to give and remove permissions to folders via the API. Is this possible?

BartonFunk
New member | Level 2
Go to solution

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:

  1. Upload the End Users design files and design briefs to a newly created folder (one new folder per order/job)
  2. Give a contractor permission to access said folder.
  3. 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

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

It sounds like you'd want to use:

 

1. /2/files/upload

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. 

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

It sounds like you'd want to use:

 

1. /2/files/upload

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. 

BartonFunk
New member | Level 2
Go to solution

That sounds great Greg. I'll discuss this with the developer. Thanks for your help.

 

 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    BartonFunk New member | Level 2
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?