If you have previously shared a file or folder from either your OneDrive [commercial], OneDrive for Business or SharePoint Online, and you want to remove access for a particular person, you can do this by selecting the file and accessing the 'Manage Access' pane as illustrated in the screenshot. Here you select the previously shared link and delete it.