If you're wanting the files to be deleted form the shared folder, then you should be able to just rename it (to a folder you're NOT sharing), or better yet, move all the subfiles/folders to another (new) folder, and delete the old one.
At that point, depending on the other local machine OneDrive settings, their local copy should delete itself, at the next sync.
I use OneDrive, but I prefer GoodSync to sync to it, because the sync options are almost unlimited, a much better deal IMO...