v1

latestOpenAPI 3.0.12026-07-1714724311.1 KB
Authentication

Log Out

Log Out

post/auth/logout

Request body

refresh_tokenstring

The refresh token to invalidate. If you have the refresh token in a cookie through /auth/login, you don't have to submit it here.

mode'json' | 'cookie' | 'session'

Whether the refresh token is submitted in the JSON response, or in a httpOnly cookie.

Example request

{
  "refresh_token": "eyJ0eXAiOiJKV..."
}

Response

Request successful