API ReferenceAuth
Logout
Revoke the current JWT by adding it to the Redis blacklist (TTL = 24h).
"Logged out" is said only once the revocation is written: otherwise the token keeps working for its whole lifetime, and the caller must hear that (503).
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Response Body
application/json
curl -X POST "https://example.com/auth/logout"null