Update Profile Picture
PUT /user/profile/update-profile-picture/
The PUT /user/profile/update-profile-picture/
endpoint allows users to update their profile picture.
Parameters
Name
Type
Location
Description
profile_pic
File
formData
The new profile picture to be uploaded.
Responses
Response Content Type
application/json
Response Codes
Code
Description
200
Profile picture updated successfully. Returns the URL of the updated picture.
Example Response
{
"profile_pic": "https://example.com/uploads/profile-picture.jpg"
}
Last updated