Skip to content

Logout User



POST /logout

The request ends the user’s active session on the current device.

The body of the request can be empty, but you need to put the access_token in the request header, for example:

{ Authorization: `Bearer ${accessToken}` }
{ "success": true }

Old Websocket Requests Deprecated

Section titled “Old Websocket Requests ”
{
"request": {
"user_logout": {},
"id": "RequestId"
}
}
{ "response": { "id": "RequestId", "success": true } }