Update Profile Image: /user/profile-image (PATCH)

Purpose:

Update the profile iamge of the current user

Input:

  • Headers:
    • Content-Type: multipart/form-data
    • Authorization: The JWT token of the user.
  • Multipart Form Data:
    • file: (File) The profile image file to upload.

Output (200):

{
  "id": "4815b60f-ad4e-44d1-8ad7-a35582032f2c",
  "username": "admin",
  "display_name": "Administrator",
  "profile_image": "https://example.com/media/convoforge/profile.jpg"
}