Skip to main content
POST
/
users
/
me
/
avatar
Upload user avatar
curl --request POST \
  --url https://api.example.com/users/me/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

Response

201 - undefined