You can delete files from OneDrive to remove them from the cloud and any devices connected to your OneDrive account.
Sometimes we see folders that are created on their own on our PC. They might be created by the programs we install or the tools we use. There is no need to panic unless they are created by the malware ...
You can delete a folder in Dropbox on a computer or mobile device, but you can only permanently delete a folder while signed in on a computer.