The users/avatar endpoint enables you to change your avatar.
users/avatar
PUT
id: The avatarID of the avatar you want to use
{
"id": "xxxxx"
}Insufficient permissions (not being logged in)
{
"data": [
"You are not authorized to access this resource."
],
"status": "notAuthorized",
}id is missing
{
"data": [
"id is required"
],
"status": "requestError",
}{
'data': [],
'meta': {},
'status': 'ok',
'time': 'xx.xxxxxxxxxxx'
}