cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more 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: 

API - Create a subfolder in Teams folderand share it with external email

API - Create a subfolder in Teams folderand share it with external email

Jan N.3
New member | Level 2
Go to solution

Hi all, I'm stuck with the following -

I need to create a subfolder in Teams folder and grant read access to the subfolder to external email address. 

Is there an endpoint to achieve this? Thanks in advance for any suggestions. Best, Jan

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

Yes, you can do this with the Dropbox API:

- To create a team folder itself, if needed: /2/team/team_folder/create (Note: this is only necessary if team is not using the "team space" configuration, and requires a "Dropbox Business API app". You can find more information on the team-space/non-team-space difference in the Namespace Guide. Otherwise, you can just create folders in the team space directly.)

- To create folders: /2/files/create_folder_v2

- To share folders: /2/sharing/share_folder

- To invite members to a shared folder, specifying a particular access level: /2/sharing/add_folder_member

 

Note that 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

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution

Yes, you can do this with the Dropbox API:

- To create a team folder itself, if needed: /2/team/team_folder/create (Note: this is only necessary if team is not using the "team space" configuration, and requires a "Dropbox Business API app". You can find more information on the team-space/non-team-space difference in the Namespace Guide. Otherwise, you can just create folders in the team space directly.)

- To create folders: /2/files/create_folder_v2

- To share folders: /2/sharing/share_folder

- To invite members to a shared folder, specifying a particular access level: /2/sharing/add_folder_member

 

Note that 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. 

Need more support?
Who's talking

Top contributors to this post

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