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
Example generated
{ "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 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"}