---
title: "Logout"
method: POST
path: "/token/logout"
tags: ["Session Management"]
---

# Logout

`POST /token/logout`

## Request

- Base URL: `https://dataops.nexla.io/nexla-api`
- URL: `https://dataops.nexla.io/nexla-api/token/logout`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nexla/apis/nexla-rest-api/docs/token/logout/post.ts> (a function with typed inputs; its response is checked against the schema)

Ends the current session and invalidates the `NexlaSessionToken` for future requests.

## Response `200`

OK

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/nexla/apis/nexla-rest-api.md) - [All operations](https://skmtc.dev/nexla/apis/nexla-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nexla/apis/nexla-rest-api/revisions/ef02be92fe7b?raw)
