A shared link may be removed from a resource by calling the
update file or
update folder or
update weblink endpoint and setting the
shared_link value to null.
If you delete the shared link and create a new one, the new shared link will
have a different URL and users with the old URL will not be able to access
the resource.
Remove Shared Link on File
To remove a shared link on a file, specify the ID of file to set the
shared_link field to null.
Remove Shared Link on Folder
To remove a shared link on a folder, specify the ID of folder to set the
shared_link field to null.
Remove Shared Link on Web Link
To remove a shared link on a web link, specify the ID of web link to set the
shared_link field to null.