cURL
curl --request POST \ --url http://localhost:3000/api/auth/logout \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "<string>", "data": "<unknown>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Logged out
true