Page optimized for desktop experience. Please use a desktop browser for best compatibility.

Upload a User’s Profile Image

Select a user profile and upload a profile image.

POST
/api/uploads/profile-image/{userId}

Usage Notes | Change Log

The user account must currently exist before a profile image may be uploaded to it. Otherwise, a 404 error will be returned.


Rev Version Update
7.32 Endpoint added.

Path Parameters

Parameter Type Validations
userId string, required Id of the user’s account profile to update.

Request Body

thumbnail image file

Accepted file types include .jpg, .png, and .gif

Please provide path and Content-Type header for the uploaded files.

Response Messages

Successful response

Unauthorized error

Resource not found.

Internal server error