---
title: "Signs out by revoking the refresh token in the `prickly_refresh` cookie."
method: POST
path: "/api/auth/logout"
tags: ["auth"]
---

# Signs out by revoking the refresh token in the \`prickly_refresh\` cookie.

`POST /api/auth/logout`

## Request

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

## Response `204`

Refresh token revoked (or none present); browser cookies cleared. Idempotent.

---

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