revoke_shared_link
POST https://api.dropboxapi.com/2/sharing/revoke_shared_link
scope: sharing.write
Revoke a shared link.
Note that even after revoking a shared link to a file, the file may be accessible if there are shared links leading to any of the file parent folders. To list all shared links that enable access to a specific file, you can use the list_shared_links
with the file as the ListSharedLinksArg.path
argument.
Request Body
{"url"=>"https://www.dropbox.com/s/2sn712vy1ovegw8/Prime_Numbers.txt?dl=0"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Dropbox-API-Path-Root | string | ||
Dropbox-API-Select-User | string | ||
Dropbox-API-Select-Admin | string |