Up - API Reference - Home
Requires JWT.
Delete the avatar for the current account.
POST /api/account/delete_avatar
Authorization: Bearer <JWT>
{}
Authorization: <JWT>
{
"success": true,
"result": {
"user": "<user gid>"
},
"data": {
"cc.users": {
"<user gid>": {
"gid": "<user gid>",
"username": "unicat",
"email": "<user email>",
"name": "Unicat",
"avatar": null,
"status": "active",
"options": {
"language": "en",
"timezone": "Europe/Amsterdam"
}
}
}
}
}
user
is the user gid for the current account.
cc.users
is a dictionary with one entry for the user.
400
Bad request - missing argument
401
Unauthorized - missing or expired JWT