Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Patrice
8 years agoNew member | Level 2
Revoking shared links
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
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:
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.
1 Reply
Replies have been turned off for this discussion
- Greg-DB8 years ago
Dropbox Community Moderator
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:
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.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!