Logout (revoke token)
POST
/api/v1/auth/logout
Revoke the bearer token used on this request by adding its JTI to the Redis-backed JWT revocation store until the token’s natural expiry. Returns 501 when the controller has no Redis configured.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Token revoked
object
status
string
Missing or invalid token
object
error
object
code
string
message
string
status
required
integer format: int32
JWT revocation requires Redis to be configured
object
error
object
code
string
message
string
status
required
integer format: int32