Presence
Update my presence
Update the current user's presence status or location.
AuthorizationBearer <token>
Bearer token authentication for user sessions
In: header
typestring
Value in
"status"statusstring
Value in
"invisible" | "join_me_all" | "join_me_friend" | "online" | "idle" | "dnd"message?string
Length
length <= 128Response Body
application/json
application/json
curl -X PUT "https://nox.hactazia.fr/api/users/@me/presence" \ -H "Content-Type: application/json" \ -d '{ "type": "status", "status": "invisible" }'{
"success": true
}{
"error": {
"message": "You are not logged in.",
"code": 7,
"status": 401
},
"data": null
}