Delete shared files in iCloud Drive on iCloud.com
In iCloud Drive on iCloud.com, tap Select, then select the file you want to delete.
Tap the Delete button in the iCloud Drive toolbar.
One of the following happens:
If you’re the owner: The file is removed from the devices of everyone sharing it. You can recover deleted files on iCloud.com.
If you’re 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 tapping the original link that the owner shared, unless the file owner stopped sharing the file.