Skip to main content
POST
/
v1
/
logout
curl -X POST https://api.vouchmark.com/v1/logout \
  -H "Authorization: Bearer $TOKEN"
{
  "success": true,
  "message": "Logged out successfully"
}
Invalidates the refresh session, blacklists the current access token in Redis for the remainder of its lifetime, and clears the auth cookies. Authenticated endpoint — send the access token as Authorization: Bearer <token> (or rely on the token cookie).
curl -X POST https://api.vouchmark.com/v1/logout \
  -H "Authorization: Bearer $TOKEN"
{
  "success": true,
  "message": "Logged out successfully"
}