API7 Docs

Log out using the CAS provider

GET /api/cas/{login_option_id}/logout

GET /api/cas/{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.

Query Parameters

redirect*string

Redirect to the given URL after logout.

Response Body

curl -X GET "$API_BASE_URL/api/cas/string/logout?redirect=string"

Redirect to IdP.

Complete operation details and schema variants

GET /api/cas/{login_option_id}/logout

Log out using the CAS provider

Start CAS logout for the selected login option and redirect to the configured post-logout target.

Parameters

  • login_option_id (path, string, required): Login option ID.
  • redirect (query, string, required): Redirect to the given URL after logout.

Responses

  • 302: Redirect to IdP.
  • 400: Invalid arguments. Error details will be provided in the response.

cURL

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