Revoke Access tokens
PUT/public-api/v1/auth/revoke-token
The Revoke Access Tokens API is used to invalidate a valid access token before its natural expiration. This ensures the token cannot be used to access protected endpoints anymore, which is important for maintaining security and compliance when:
A user logs out. A session is terminated remotely. Access is manually revoked by an admin or service. This endpoint requires the token to be passed in the Authorization header using the Bearer scheme.
Request
Responses
- 200
- 401
- 500
Access token was successfully revoked.
Unauthorized – Invalid or missing token.
Internal Server Error