Invalidates the user session, ensuring a secure logout.
The refresh token obtained at login must be provided in the payload: once invalidated it can no longer be used to renew the JWT token, and the client must discard the tokens it holds.
It is a good practice to invoke this endpoint whenever the user explicitly signs out, so that the session is not left open until the natural expiration of the tokens.
The name of the tenant (e.g. acme).
The logout request body must provide the refresh token, which is obtained from the login response.
The payload message for logout requests.
The refresh token obtained during the user login.
Logout succeeded.
User not authenticated.
The error response.
Internal server error.
The error response.