Skip to content
Version: Current

POST /auth/logout

Part of the API reference; this page is generated from the OpenAPI document that the gateway builds from its own route tables.

  • Contract version: 1.10.0
  • Contract title: acumen gateway API
  • Source: acumen:docs/openapi/acumen-v1.openapi.json

Console logout

Deletes the session row and clears the cookie. Revocation is terminal: the cookie cannot be replayed. CSRF-gated when invoked from a form.

  • Operation id: postAuthLogout
  • Scope: none
  • Exposure: operator
  • Mutating: yes

Responses

  • 200: session dropped
    • application/json: OK: OK (object)
  • 401: auth_session — no valid operator session
    • application/problem+json: Problem: Problem (object)
  • 403: auth_scope — the session lacks the required scope
    • application/problem+json: Problem: Problem (object)