OneDrive - Delete files or folders in OneDrive
You can delete specific files or photos on Microsoft OneDrive, or you can delete entire folders and all the items in them. If you need to, you might be able to restore deleted files from the OneDrive recycle bin.
Go to the OneDrive website. You might need to sign in with your Microsoft account, or your work or school account.
Select the files or folders you want to delete by pointing to each item and clicking the circle check box that appears. (The left image below shows items in List view, the right image shows items in Tiles or Photos view.)
To select all files in a folder, click the circle to the left of the header row, or press CTRL + A on your keyboard. (You can also select several files at once by selecting one file, scrolling down the list, then hold down the Shift key while left-clicking the last item you want to select.)
On the bar at the top of the page, select Delete. (You can also right-click the selected file or folder and select Delete.)
To delete a folder, rather than just its contents, you may need to go up or back a level to select the whole folder.
Empty your recycle bin
Your deleted files and folders go to the OneDrive recycle bin from which you can restore files if you need to.
First, select Recycle bin in the OneDrive left side navigation.
A screenshot showing the Recycle Bin tab in OneDrive.com.
To permanently delete specific files or folders from the recycle bin, select those items, then select Delete in the top navigation.
To permanently delete the entire recycle bin at once, select Empty recycle bin in the top navigation.
Delete from your OneDrive but not your hard drive
If you want to keep a file, photo, or folder on your computer, but not on OneDrive, use File Explorer (or Mac Finder, if you're on a Mac) to move the file outside your OneDrive folder to a different folder on your hard drive.
Delete from your hard drive but not your OneDrive
If you want to keep a file, photo, or folder on your OneDrive, but not on your computer (because you don’t want it to take up space), put the file in your OneDrive folder, then turn on Files On-Demand (Windows) (or Files On-Demand (Mac)). You’ll still see the file in the OneDrive folder on your computer, but it will take up zero hard drive space.