---
title: "Auth Logout"
method: POST
path: "/api/auth/logout"
tags: ["auth", "billing"]
---

# Auth Logout

`POST /api/auth/logout`

## Request

- Base URL: `https://www.oxfordledge.com` (the document declares no server; this is the origin it was published from)
- URL: `https://www.oxfordledge.com/api/auth/logout`
- Auth: none declared

Clear session and CSRF cookies.

Reads the ol_session cookie, deletes the server-side session,
and clears both cookies.

## Response `200`

Successful Response

- AuthActionResponse: Loose response_model for auth routes (signin/register/oauth callbacks). Multi-shape success vs error envelopes; FE branches on specific keys via the public typed wrappers.

---

[API](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api.md) · [All operations](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api/revisions/e832a1260f0b?raw)
