Skip to content

Update avatar of the current user

POST
/user/avatar

UpdateUserAvatarUserOption options when updating the user avatar

object
image

Image must be base64 encoded

string
Example generated
{
"image": "example"
}

APIEmpty is an empty response

Media type application/json

APIUnauthorizedError is a unauthorized error response

Media type application/json
object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}

APIForbiddenError is a forbidden error response

Media type application/json
object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}