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
Examplegenerated
{
"image": "example"
}

APIEmpty is an empty response

Media typeapplication/json

APIUnauthorizedError is a unauthorized error response

Media typeapplication/json
object
message
string
url
string
Examplegenerated
{
"message": "example",
"url": "example"
}

APIForbiddenError is a forbidden error response

Media typeapplication/json
object
message
string
url
string
Examplegenerated
{
"message": "example",
"url": "example"
}