EndpointsPlayers

Upload player avatar

POST/v2/players/{player_id}/avatar

Sets a JPEG, PNG, WebP, or GIF image up to 5 MB as the player's avatar. The image is center-cropped to a square.

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token issued by Softmax

In: header

Path Parameters

player_id*Player Id

Player whose avatar will be updated.

Match^ply_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Request Body

multipart/form-data