v51

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

Upload profile photo

Uploads a profile photo for the specified user. The file is stored in the tenant-scoped files table. If the user already has a profile photo, the old one is deleted and replaced. Uses multer for multipart file handling.

post/users/{id}/profile-photo

Path parameters

idinteger required

User ID

Response

Profile photo uploaded

messagestring

Example response

{
  "message": "OK"
}