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

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: 
Highlighted

How Can I Give Access Level To Create Shared Link using REST API ?

Explorer | Level 3

Hi,

 

I want to give acess level while sharing files or folders using rest api?

Please help

7 Replies 7
Highlighted

Re: How Can I Give Access Level To Create Shared Link using REST API ?

Dropboxer
Dropboxer

You can create a shared link using the /2/sharing/create_shared_link_with_settings endpoint.

You need a Dropbox API app with the app folder or full Dropbox permission, or a Dropbox Business API app with the team member file access permission to use that.

Highlighted

Re: How Can I Give Access Level To Create Shared Link using REST API ?

Explorer | Level 3

Hi,

 

Yes you are right,But how can i add access level to that create link.There is no such parameter for access level for this API.

If you hav example of code please share-

give edit only access for created shared link using REST API

Highlighted

Re: How Can I Give Access Level To Create Shared Link using REST API ?

Dropboxer
Dropboxer

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

Highlighted

Re: How Can I Give Access Level To Create Shared Link using REST API ?

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

 

Highlighted

Re: How Can I Give Access Level To Create Shared Link using REST API ?

Dropboxer
Dropboxer

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

Highlighted

Re: How Can I Give Access Level To Create Shared Link using REST API ?

Explorer | 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?

Highlighted

Re: How Can I Give Access Level To Create Shared Link using REST API ?

Dropboxer
Dropboxer

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.

Polls
Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

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?