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

# POST /auth/cli/logout

`POST /auth/cli/logout`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/auth/cli/logout`
- Auth: HTTP bearer

## Response `204`

API key revoked

## Other responses

- `401`: Not authenticated
- `403`: Endpoint requires API key authentication
- `500`: Internal server error

## Changes

- **2026-05-30** `b72341d12f63`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/auth/cli/logout/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
