v51

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01703301564.3 KB
Users

Delete profile photo

Removes the profile photo from the user record and deletes the associated file from the files table.

delete/users/{id}/profile-photo

Path parameters

idinteger required

User ID

Response

Profile photo deleted

messagestring
databoolean

true if photo was deleted

Example response

{
  "message": "OK"
}