---
title: "Session Token Logout."
method: POST
path: "/auth/logout"
tags: ["auth"]
---

# Session Token Logout.

`POST /auth/logout`

Logout of the service and destroy the session token.

## Cookies

- `_me_sess` string, required

## Response `204`

Success

## Other responses

- `401` — 401 Unauthorised.
- `500` — 500 Unexpected Internal Server Error.

## Changes

- **2024-06-12** `b52e9ab05fcc` — 1 info
  - endpoint added
- **2023-11-26** `b173cabb315f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/medama-io/apis/medama-analytics-api/changes/auth/logout/post.md)

---

[API](https://skmtc.dev/medama-io/apis/medama-analytics-api.md) · [All operations](https://skmtc.dev/medama-io/apis/medama-analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/medama-io/medama-analytics-api/revisions/03c8589a7dfd/schema)
