Skip to main content
POST
/
api
/
auth
/
logout
Log out and invalidate refresh token
curl --request POST \
  --url https://tandem.hlofiys.xyz/api/auth/logout \
  --header 'Authorization: Bearer <token>'
{
  "message": "Successfully logged out"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Logout successful

message
string
Example:

"Successfully logged out"