Integrity
Create user integrity token
Create an integrity token for the current user to join a server.
AuthorizationBearer <token>
Bearer token authentication for user sessions
In: header
addressstring
The server address to create integrity for
Response Body
application/json
application/json
application/json
curl -X PUT "https://nox.hactazia.fr/api/users/@me/integrity" \ -H "Content-Type: application/json" \ -d '{ "address": "string" }'{
"token": "string",
"expires": 0,
"created_at": 0
}{
"error": {
"message": "You are not logged in.",
"code": 7,
"status": 401
},
"data": null
}{
"error": {
"message": "User not found.",
"code": 2,
"status": 404
},
"data": null
}