Logout handler
POST/api/v1/auth/logout
Revokes the supplied refresh token (when refresh tokens are enabled) so that it can no longer be exchanged for a new access token. The access token itself is stateless JWT; the client is expected to discard it.
The body is optional to preserve backwards-compatibility with legacy clients
that POST /auth/logout with no payload.
Request
Responses
- 200
Logout successful