cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Share folder with path instead of folder id

Explorer | Level 4

Is it possible to use an API call to share a folder with a user using the folder path instead of the folder id?

1 Accepted Solution

Accepted Solutions
Highlighted

Re: Share folder with path instead of folder id

Dropboxer
Dropboxer

No, /2/sharing/add_folder_member is the only way to invite a new member to a shared folder, and it only accepts a shared folder ID, not a path.

 

You can get the shared folder ID in any Metadata object for the folder, e.g., as returned by /2/files/get_metadata, which does accept a path.

View solution in original post

3 Replies 3
Highlighted

Re: Share folder with path instead of folder id

Dropboxer
Dropboxer

When initially creating a shared folder, or making an existing folder a shared folder, using /2/sharing/share_folder, you must supply a path.

 

When inviting another user to a shared folder though, using /2/sharing/add_folder_member, you need to supply the shared folder ID.

Highlighted

Re: Share folder with path instead of folder id

Explorer | Level 4
So there is no other way to invite another user to a shared folder with a path rather than using folder ID?
Highlighted

Re: Share folder with path instead of folder id

Dropboxer
Dropboxer

No, /2/sharing/add_folder_member is the only way to invite a new member to a shared folder, and it only accepts a shared folder ID, not a path.

 

You can get the shared folder ID in any Metadata object for the folder, e.g., as returned by /2/files/get_metadata, which does accept a path.

View solution in original post

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?