---
title: "Revoke the current session"
method: POST
path: "/api/v1/logout"
tags: ["Authentication"]
---

# Revoke the current session

`POST /api/v1/logout`

Revokes the current session by adding the JWT access token to the blocklist. After logout, the token can no longer be used to authenticate requests.

## Response `200`

Logged out successfully

- object
  - `message` string, required

## Other responses

- `401` — Missing or invalid token

---

[API](https://skmtc.net/totalpass/apis/token-use.md) · [All operations](https://skmtc.net/totalpass/apis/token-use/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/totalpass/token-use/versions/bc65b4950c7e/schema)
