You are here: Home > API Reference > Platform > User Authentication > Logout user

Logout user

Logout user

GET
https://api.applivery.io/v1/auth/logout

Request

Send your API key in the request header authorization
Example: Authorization: Bearer <token>

Responses

200 Response application/json
status boolean optional
data object optional
logout boolean optional
{
    "status": true,
    "data": {
        "logout": true
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4012
message string optional
Session Expired
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
Was this page helpful?