Question: how to delete photos from icloud not iphone?
Answer: To delete photos from the cloud, delete them from iCloud Photo Library. If you don't want pictures to be sent to the cloud at all in the future, you'd have to go to settings, iCloud, photos and turn off the iCloud Photo Library.