Skip to main content
POST
/
api
/
profile-picture
/
upload
Upload profile picture
curl --request POST \
  --url https://serengo.zias.be/api/profile-picture/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'userId=<string>'

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
userId
string

Response

200

Upload successful