Xsolla-logo

Upload user picture

post/users/me/picture

Uploads the profile picture of the authenticated user by JWT.

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

User profile picture in the binary format.

Responses
200

OK

400

Bad Request

403

Forbidden

404

Not Found

Request samples
curl -i -X POST \
  https://login.xsolla.com/api/users/me/picture \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: multipart/form-data' \
  -F picture=string
Response samples
application/json