Avatars
Update avatar
Update an existing avatar.
AuthorizationBearer <token>
Bearer token authentication for user sessions
In: header
Path Parameters
avatar_idinteger
title?string
description?string
thumbnail?string
Format
uriResponse Body
application/json
application/json
application/json
application/json
curl -X POST "https://nox.hactazia.fr/api/avatars/0" \ -H "Content-Type: application/json" \ -d '{}'{
"id": 0,
"title": "string",
"description": "string",
"server": "string",
"tags": [
"string"
],
"thumbnail": "http://example.com",
"owner": "string"
}{
"error": {
"message": "You are not logged in.",
"code": 7,
"status": 401
},
"data": null
}{
"error": {
"message": "Resource not found.",
"code": 3,
"status": 404
},
"data": null
}