Skip to main content
POST
https://api.usegately.com
/
api
/
v1
/
auth
/
logout
curl -X POST "https://api.usegately.com/api/v1/auth/logout" \
  -H "Authorization: Bearer USER_JWT_TOKEN"
{
  "success": true,
  "message": "Logged out successfully"
}
Log out a user and invalidate their session token.

Response

success
boolean
Whether the logout was successful
curl -X POST "https://api.usegately.com/api/v1/auth/logout" \
  -H "Authorization: Bearer USER_JWT_TOKEN"
{
  "success": true,
  "message": "Logged out successfully"
}