You wish to know whether it is possible (and how?) to delete or update profile picture of a retired (or inactive) employee using OData API.
- SAP SuccessFactors HXM Suite
- Odata API
From our OData API guide: https://help.sap.com/doc/74597e67f54d4f448252bad4c2b601c9/2111/en-US/SF_HCM_OData_API_REF_en.pdf
you can find that upserting the photo of an inactive user won’t be possible, and you will get the HTTP 400 error that user isn’t active or User doesn’t exist.
Odata API, Photo entity, upsert photo for inactive user, HTTP 400 error code, user doesn’t exist , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , LOD-SF-INT-API , API & Adhoc API Framework , How To