cURL
curl --request POST \ --url https://api.example.com/api/v2/auth/logout \ --header 'Authorization: <authorization>'
Инвалидировать текущий refresh token
Authorization: Bearer YOUR_ACCESS_TOKEN
curl -X POST https://neuralbox.top/api/v2/auth/logout \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{ "message": "Logged out successfully" }