Delete photo from google photos API

Viewed 641

Is it possible to delete any photo stored in google photos programmatically? I've seen picasa web API but can't see that it's possible to delete files via API.

3 Answers

I was thinking the same thing.

I'm not an active developer myself, so take this advice with a grain of salt, but looking a the help pages:

https://developers.google.com/photos/library/guides/get-started https://developers.google.com/photos/library/reference/

... nothing jumps out at me that would suggest that you can delete a photo via the API.

This is annoying, because one of the glaringly obvious features missing from the otherwise-excellent Google Photos service is the ability to auto-detect, and optionally delete, duplicate photos. For various legacy reasons, I've literally 1000's of duplicates in my collection which would take me days to identify and delete manually.

So hopefully in the not too distant future, Google Photos API will allow deletion, and/or Google Photos will add this into the core feature set.

Related