Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (18 loc) · 622 Bytes

File metadata and controls

24 lines (18 loc) · 622 Bytes

Logout

Invalidate your REST API authentication token.

HTTP MethodURLRequires Auth
POST/api/v1/logoutyes

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -X POST http://localhost:3000/api/v1/logout

Example Response

{
   "status": "success",
   "data": {
     "message": "You've been logged out!"
   }
}