Remove the photo from all resources before attempting to delete it. You can: 1. List the resources where the photo is assigned 2. Remove the photo assignment from each resource 3. Then delete the photo.
{ "type": "https://docs.guile.app/problems/photoAssigned", "title": "Photo Assigned", "status": 409, "detail": "The photo cannot be deleted because it is currently assigned to one or more resources (services, shops, or barber pro..."}