# Upload a user photo

`POST https://testing-backend.estactics.com/api/users/updateUserProfilePhoto`

Uploads or replaces the profile photo of a team member. Send the request as `multipart/form-data`, with the file in a field called `profilePhotoFile`.

Authentication: `Authorization: Bearer YOUR_API_KEY`. Required permission: `users.MANAGE_ORG_USERS`.

## Body parameters

- `userId` (integer, required): ID of the user.
- `profilePhotoFile` (string, required): The image file.
