---
title: "End the current session."
method: POST
path: "/auth/logout"
tags: ["auth"]
---

# End the current session.

`POST /auth/logout`

Clears the session cookie and deletes the associated client.

## Response `200`

Ok

## Other responses

- `400` — Bad Request

## Changes

> 55 revisions in range; 2 not diffed.

- **2026-04-11** `1f9975384d55` — 1 info
  - endpoint added

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

---

[API](https://skmtc.dev/gotify/apis/gotify-rest-api.md) · [All operations](https://skmtc.dev/gotify/apis/gotify-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gotify/gotify-rest-api/revisions/757d7e98d83c/schema)
