cURL
curl --request POST \ --url https://tandem.hlofiys.xyz/api/auth/logout \ --header 'Authorization: Bearer <token>'
{ "message": "Successfully logged out" }
Logs out the current user by invalidating their refresh token on the server, effectively ending the session
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Logout successful
"Successfully logged out"