---
title: "Invalidate Token"
method: POST
path: "/public/api/auth/invalidate_token"
tags: ["Security"]
---

# Invalidate Token

`POST /public/api/auth/invalidate_token`

Invalidates the existing JSON Web Token (JWT) for the API provided in the Authorization header.

## Headers

- `Accept` string

## Response `200`

OK

- object
  - `success` boolean
  - `token` string
  - `user_id` string
  - `username` string
  - `tenant` string

## Changes

- **2026-09-04** `acd097fdd2f1` — 1 info
  - the endpoint scheme security `oauth2` was removed from the API

[Change history](https://skmtc.dev/yoobic/apis/yoobic-public-api/changes/public/api/auth/invalidate_token/post.md)

---

[API](https://skmtc.dev/yoobic/apis/yoobic-public-api.md) · [All operations](https://skmtc.dev/yoobic/apis/yoobic-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/yoobic/yoobic-public-api/revisions/acd097fdd2f1/schema)
