Logout
POST/api/auth/logout
Invalidates the current session's AccessTokens
and RefreshTokens.
Tokens
- To perform the logout, an
AccessTokenis required. - If successful, all cookies related to the user's session will be invalidated.
Responses
- 200
- 500
Logout successful.
The following error codes correspond to this status:
COOKIE_CREATION_FAILURE: Thrown when an exception occurred during the creation of a cookie.