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

# Log out

`POST /v1/auth/jwt/logout`

## Request

- Base URL: `https://api.smartloop.ai`
- URL: `https://api.smartloop.ai/v1/auth/jwt/logout`
- Auth: one of:
  - OAuth 2
    - Password
    - Token URL: `v1/auth/jwt/login`
  - API key in header `x-api-key`

Tokens are stateless, so this only checks the caller is signed in; clients discard their tokens.

## Response `204`

Logged out

## Other responses

- `401`: Missing or invalid credentials

---

[API](https://skmtc.dev/smartloop/apis/smartloop-platform-api.md) - [All operations](https://skmtc.dev/smartloop/apis/smartloop-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartloop/apis/smartloop-platform-api/revisions/17a787eabbe8?raw)
