A Microsoft file hosting and synchronization service.
To delete everything from your OneDrive using the web interface, log in to your account through a browser and navigate to the My Files section. You can select every item in the current view by pressing the keyboard shortcut Ctrl + A on a Windows computer or Cmd + A on a Mac. Once all items are highlighted, click the delete button located in the top navigation bar to move them to the recycle bin. If you have a large number of files, you may need to scroll to the bottom of the list first to ensure the browser loads all items before you select them.
If you prefer using a command-line interface on a Windows machine, you can use PowerShell to clear the contents of your local OneDrive sync folder, which will then sync those deletions to the cloud. You should first ensure you are in the correct directory and then use the following command to remove all files and folders recursively.
Remove-Item -Path "C:\Users\YourUsername\OneDrive*" -Recycle -Recurse -Force
If you have OneDrive synced to a computer, you can also perform this action through your standard file explorer. Simply open your OneDrive folder, select all contents with your mouse or keyboard, and delete them as you would with any other local file. It is important to remember that these files will remain in your OneDrive recycle bin for thirty days, or until the bin is full, unless you manually empty the recycle bin on the website to free up storage space immediately.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin