---
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

---

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