POST
/
api
/
self
/
avatar
curl --request POST \
  --url http://localhost/api/self/avatar \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data'
{
  "success": true
}

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
*/*
Profile picture uploaded successfully
success
boolean