Skip to content

Logout (revoke token)

POST
/api/v1/auth/logout

Revoke the bearer token used on this request by adding its JTI to the JWT revocation store until the token’s natural expiry. Returns 501 when no revocation store is configured.

Token revoked

object
status
string

Missing or invalid token

object
error
object
code
string
message
string
status
required
integer format: int32

JWT revocation store is not configured

object
error
object
code
string
message
string
status
required
integer format: int32