revoke_shared_link

POST https://api.dropboxapi.com/2/sharing/revoke_shared_link

revokesharedlink

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

KeyDatatypeRequiredDescription
Content-Typestring
Dropbox-API-Path-Rootstring
Dropbox-API-Select-Userstring
Dropbox-API-Select-Adminstring