---
title: "Delete the session associated with a refresh token."
method: POST
path: "/auth/logout"
tags: ["auth"]
---

# Delete the session associated with a refresh token.

`POST /auth/logout`

## Response `200`

OK

## Other responses

- `401` — User is not authenticated
- `404` — User or refresh token not found

---

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