Skip to main content
PATCH
/
user
/
avatar
cURL
curl --request PATCH \
  --url http://127.0.0.1:3000/api/user/avatar \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required

Response

200

Successfully update.

Last modified on December 10, 2025