Upload avatar file
Upload a new avatar image file for the authenticated user.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects a multipart form containing a file.
avatar
Avatar image file (JPEG, PNG, GIF, WebP, max 5MB)
Response
Avatar updated successfully
message
avatar
user
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error
