API7 Docs

Log out from API7 Enterprise using the LDAP username and password

POST /api/ldap/{login_option_id}/logout

POST /api/ldap/{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

application/json

curl -X POST "$API_BASE_URL/api/ldap/string/logout"

Successful operation.

{
  "value": {}
}
Complete operation details and schema variants

POST /api/ldap/{login_option_id}/logout

Log out from API7 Enterprise using the LDAP username and password

Log out a session established via LDAP authentication for the specified login option.

Parameters

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

Responses

  • 200: Successful operation.
  • value (object, optional): The specific resource.

cURL

curl -X POST '$API_BASE_URL/api/ldap/{login_option_id}/logout'