NoxVR Documentation
Relations

Accept or reject follow request

Accept or reject a pending follow request.

POST
/relations/{id}/request
AuthorizationBearer <token>

Bearer token authentication for user sessions

In: header

Path Parameters

idstring

User identifier who sent the request

typestring
Value in"accept" | "reject"

Response Body

application/json

application/json

curl -X POST "https://nox.hactazia.fr/api/relations/string/request" \  -H "Content-Type: application/json" \  -d '{    "type": "accept"  }'
{
  "type": "accepted",
  "success": true
}
{
  "error": {
    "message": "You are not logged in.",
    "code": 7,
    "status": 401
  },
  "data": null
}