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

# POST /logout

`POST /logout`

Log out: revoke the refresh token family and clear the team cookie

## Request body

- object
  - `refreshToken` string

## Response `200`

Default Response

- unknown

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

## Changes

> 15 revisions in range; 12 could not be searched.

- **2026-07-26** `8586b0646aa3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/scalar/apis/core/changes/logout/post.md)

---

[API](https://skmtc.dev/scalar/apis/core.md) · [All operations](https://skmtc.dev/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scalar/core/revisions/3095882242e8/schema)
