Delete shared files in iCloud Drive on iCloud.com
In iCloud Drive on iCloud.com, select the file.
Click the Delete button in the iCloud Drive toolbar.
One of the following happens:
If you are the owner: the file is removed from the devices of everyone sharing it. You can recover deleted files on iCloud.com.
If you are a participant: the file is removed from iCloud Drive on your devices, but not the owner’s or any participants’ devices. You can edit the file again by clicking the original link that the owner shared, unless the file owner has stopped sharing the file.