Skip to content

Session Logout

Session Logout If the user wants to logout from the application, the user needs to pass authorization token in the headers. Upon successfull logout, a success error code is recieved in the response.

Method: DELETE

{{SERVER_URL}}/api/V2/accounts/logout

Headers

Content-Type Value
Authorization {{AUTH_TOKEN}}

Response: 200

{
    "code": 200,
    "error": "successfully logged out from all API. ",
    "type": "success"
}