POST /api/v1/logout
Requires BearerAuth.
Revokes the current session and invalidates the provided refresh token. After calling this endpoint, both the access token and refresh token are no longer accepted.
Request body
The refresh token to invalidate.
Response
Always
true on success.Errors
| Status | When |
|---|---|
400 | Request body is missing or malformed |
401 | The access token or refresh token is missing or invalid |