Update avatar of the current user
POST
/user/avatar
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”UpdateUserAvatarUserOption options when updating the user avatar
object
image
Image must be base64 encoded
string
Examplegenerated
{ "image": "example"}UpdateUserAvatarUserOption options when updating the user avatar
object
image
Image must be base64 encoded
string
Responses
Section titled “Responses”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"}