We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
ideveloper200
8 years agoExplorer | Level 3
How Can I Give Access Level To Create Shared Link using REST API ?
Hi, I want to give acess level while sharing files or folders using rest api? Please help
Greg-DB
Dropbox Community Moderator
8 years agoYou can use the 'settings' parameter on the /2/sharing/create_shared_link_with_settings endpoint to set the link settings, such as 'requested_visibility' or 'link_password'. (Be sure to click on 'SharedLinkSettings' to see the documentation for those options.)
The API v2 Explorer can be helpful for prototyping calls with specific parameters.
ideveloper200
8 years agoExplorer | Level 3
Hi,
Yes with setting i can give security level but i want to create shared link with only view access level or edit level access level.
For example- "https://www.dropbox.com/s/k3qefy79ywr9dk0/Test.txt?dl=0"
Now if you go to this link you can just view that document.I want this should be editable too.So how can i achieve this.
- Greg-DB8 years ago
Dropbox Community Moderator
Shared links don't offer edit access. If you want to share particular files with specific members with specific access levels, you can use /2/sharing/add_file_member instead:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-add_file_member
- ideveloper2008 years agoExplorer | Level 3
Ohks.
This is for team members right?
If i want to create shared link with anyone not only members with edit access level then which API will help?
- Greg-DB8 years ago
Dropbox Community Moderator
No, it is not for team members only. You can use that to share specific files with edit access to team members and non-team members alike.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!