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
[ "EEFFGGHH", "my_user"]
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
invalid_input
description
required
The contents of the error
string
Error while parsing multipart payload
404
The requested item(s) were not found or no authorization to access the requested item(s)