---
title: "Log out"
method: POST
path: "/auth/logout"
tags: ["Auth"]
---

# Log out

`POST /auth/logout`

## Request

- Base URL: `https://api.your-domain.com`
- URL: `https://api.your-domain.com/auth/logout`
- Auth: none declared
- TypeScript: <https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/docs/auth/logout/post.ts> (a function with typed inputs; its response is checked against the schema)

Revoke the current session so its token can no longer authenticate.

## Response `200`

Successful Response

- unknown

## Other responses

- `401`: Missing or invalid authentication.
- `404`: Session not found.

---

[API](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api.md) - [All operations](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/revisions/b53e89b98c2b?raw)
