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