cURL
curl --request POST \ --url https://api.example.com/v1/logout \ --header 'Authorization: Bearer <token>'
{ "message": "<string>" }
Invalidate tokens and end session
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Logout successful