NoxVR Documentation
Avatars

Create avatar

Create a new avatar.

PUT
/avatars
AuthorizationBearer <token>

Bearer token authentication for user sessions

In: header

id?integer

Optional custom ID

title?string
description?string
thumbnail?string
Formaturi

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://nox.hactazia.fr/api/avatars" \  -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": "{0} already exists with {1}.",
    "code": 6,
    "status": 409
  },
  "data": null
}