Here's how to do it:
- Log in to your Dropbox account, then click on Shared in the left sidebar.
- Go to Links.
- Find the file or folder that you've shared and want to disable the link for.
- Right-click (or click the three dots ... next to the file or folder) and select Delete view link.
- Click Delete link to remove or disable any shared links, preventing further access to files or folders you've previously shared.