NoxVR Documentation
Avatars

Update avatar

Update an existing avatar.

POST
/avatars/{avatar_id}
AuthorizationBearer <token>

Bearer token authentication for user sessions

In: header

Path Parameters

avatar_idinteger
title?string
description?string
thumbnail?string
Formaturi

Response 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": "You are not authorized to {0}.",
    "code": 8,
    "status": 401
  },
  "data": null
}
{
  "error": {
    "message": "Resource not found.",
    "code": 3,
    "status": 404
  },
  "data": null
}