---
title: "Sign out (destroys the current session)"
method: POST
path: "/v1/auth/logout"
tags: ["Auth"]
---

# Sign out (destroys the current session)

`POST /v1/auth/logout`

## Request

- Base URL: `https://api.stackdata.io`
- URL: `https://api.stackdata.io/v1/auth/logout`
- Auth: one of:
  - none
  - API key in header `X-API-Key`

## Response `200`

Signed out.

- Ok
  - `ok` boolean

---

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