Upload a user photo

POSThttp://localhost:4000/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.

Your API key needs the users.MANAGE_ORG_USERS permission.

Body Params

userIdintegerrequired

ID of the user.

profilePhotoFilestringrequired

The image file.

Responses

200Successful response.
400The request is not valid.
401The API key is missing, invalid, expired or disabled.
403The API key does not have the permission this endpoint needs.