auth

OAuth logout (browser)

Browser-oriented logout endpoint. Clears the current auth session and token state, then optionally redirects when post_logout_redirect_uri is provided as a query parameter.

get/oauth2/end-session

Request

  • Base URL: https://api.leisurevans.com
  • URL: https://api.leisurevans.com/oauth2/end-session
  • Auth: none declared

Query parameters

post_logout_redirect_uristring uri

Response

Logout response for API clients.

successboolean required
messagestring required
redirect_uristring nullable

Example response

{
  "success": true,
  "message": "Logged out successfully",
  "redirect_uri": null
}

Changes

No recorded changes to this operation across all 1 revision of this API.