Xsolla-logo

Upload user pictureClient-side

post/users/me/picture

Uploads the profile picture of the authenticated user by JWT.

SecurityBearer
Request
Request Body schema: multipart/form-data
picture
required
string <binary>

User's avatar file

Responses
200

OK

400

Bad Request

403

Forbidden

404

Not Found

415

Not Found

Request samples
curl --request POST \
  --url https://login.xsolla.com/api/users/me/picture \
  --header 'Authorization: Bearer BEARER_TOKEN' \
  --header 'accept: multipart/form-data'
Response samples
application/json