cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right 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: 

Revoking shared links

Revoking shared links

Patrice
New member | Level 2
Go to solution

I'm new using the API. I wonder what's the best way to revoke shared links. I want to only allow sharing within my organization. 

 

My first idea is for each user to check every shared file and their properties.

 

Regards

 

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

To revoke a shared link, you can use the /2/sharing/revoke_shared_link:

 

https://www.dropbox.com/developers/documentation/http/documentation#sharing-revoke_shared_link

 

Depending on your exact goal, you can also do other things like modify the policy on existing links, using /2/sharing/modify_shared_link_settings:

 

https://www.dropbox.com/developers/documentation/http/documentation#sharing-modify_shared_link_setti...

 

For example, for Business accounts, you can set the settings.requested_visibility to team_only, to restrict that link to members of the same team only.

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution

To revoke a shared link, you can use the /2/sharing/revoke_shared_link:

 

https://www.dropbox.com/developers/documentation/http/documentation#sharing-revoke_shared_link

 

Depending on your exact goal, you can also do other things like modify the policy on existing links, using /2/sharing/modify_shared_link_settings:

 

https://www.dropbox.com/developers/documentation/http/documentation#sharing-modify_shared_link_setti...

 

For example, for Business accounts, you can set the settings.requested_visibility to team_only, to restrict that link to members of the same team only.

Need more support?
Who's talking

Top contributors to this post

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