how do i delete photos from icloud but not my iphone?
Go to your iPhone settings >> tap on your name >> iCloud >> Photos >> switch off iCloud Photo Library. Voila! All you need to do now is wait until all your photos and videos are deleted.