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

# Logout

`POST /api/auth/logout`

## Request

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

Clear the HttpOnly app_token session cookie (slice 26).

Since the token cookie is HttpOnly it cannot be cleared from JavaScript, so
logout must round-trip to the server. Path/SameSite must match the set so the
browser actually drops it. No auth required — clearing your own session is
always safe and idempotent.

## Response `204`

Successful Response

---

[API](https://skmtc.dev/advisorppc/apis/advisorppc-api.md) · [All operations](https://skmtc.dev/advisorppc/apis/advisorppc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/advisorppc/apis/advisorppc-api/revisions/3441bd729e0c?raw)
