Logout and revoke tokens
POST/v1/auth/logout
Handles the OAuth2 logout request. This handler revokes the provided token(s) - either the access token, refresh token, or both. Once the tokens are revoked, the user session is terminated.
Request
Responses
- 204
- 400
- 401
- 500
Successfully logged out and tokens revoked
Bad request - invalid input parameters
Unauthorized - invalid or missing credentials
Internal server error