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