If you are the sharer of a file or folder link, you can cancel the link anytime.
After you cancel the link, Invalid link will be displayed when recipients try to open it.
Perform the following steps to cancel a file or folder link::
Alternatively, you can right-click the blank area to the right of the file or folder and choose Share Link or click Share Link above the file list to go to the Share Link window.