Change user's avatar
PATCH /user/{id|username}/icon
PATCH
/user/{id|username}/icon
The new avatar may be up to 2MiB in size.
Authorizations
Parameters
Path Parameters
id|username
required
string
The ID or username of the user
Request Body
string format: binary
string format: binary
string format: binary
string format: binary
string format: binary
string format: binary
string format: binary
string format: binary
Responses
204
Expected response to a valid request
400
Request was invalid, see given error
object
error
required
The name of the error
string
description
required
The contents of the error
string
404
The requested item(s) were not found or no authorization to access the requested item(s)