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
Example response
{
"message": "OK"
}