API7 Docs

Log out using the OIDC provider

GET /api/oidc/{login_option_id}/logout

GET /api/oidc/{login_option_id}/logout

Interactive request editor loads with JavaScript.

Authorization

X-API-KEY<token>

In: header

Path Parameters

login_option_id*string

Login option ID.

Response Body

curl -X GET "$API_BASE_URL/api/oidc/string/logout"

Redirect

Complete operation details and schema variants

GET /api/oidc/{login_option_id}/logout

Log out using the OIDC provider

Start OIDC logout flow and redirect through the provider logout endpoint for the selected login option.

Parameters

  • login_option_id (path, string, required): Login option ID.

Responses

  • 307: Redirect
  • 400: Invalid arguments. Error details will be provided in the response.

cURL

curl -X GET '$API_BASE_URL/api/oidc/{login_option_id}/logout'