---
title: "Logout"
method: POST
path: "/auth/logout"
tags: ["auth", "authentication"]
---

# Logout

`POST /auth/logout`

Logout user by clearing the auth cookie.
CRITICAL: Ensures proper cookie deletion across all environments including GKE.
Uses aggressive multi-attempt clearing to handle OAuth and regular sessions.

IMPORTANT: Cookie deletion parameters must EXACTLY match the parameters used when setting the cookie.
See: https://stackoverflow.com/questions/67094564/fastapi-deleting-cookies-after-logout-not-working

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored.md) · [All operations](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fluentea/aurqa-language-learning-platform-refactored/revisions/78f314acd8bf/schema)
