Set current user's avatar

PUT /account/avatar

Sets the currently authenticated user's avatar by uploading an image file. The image will be validated, processed (EXIF stripped), uploaded to blob storage, and the URL stored in the user profile. Maximum file size: 5MB. Allowed formats: PNG, JPEG, WEBP.

Request Body*

multipart/form-data •
{
  "file": "string"
}

Responses

400 Bad Request
401 Unauthorized