---
title: "Blacklist a JWT refresh token"
method: POST
path: "/api/token/blacklist/"
tags: ["JWT"]
---

# Blacklist a JWT refresh token

`POST /api/token/blacklist/`

Adds a JWT refresh token to the blacklist, preventing it from being used to obtain new access tokens.

## Request body

- LSAPITokenBlacklistRequest
  - `refresh` string, required

## Response `204`

Token was successfully blacklisted

## Other responses

- `404` — Token is already blacklisted

## Changes

> 97 revisions in range; 1 not diffed.

- **2026-07-07** `285d963a900f` — 1 breaking, 1 info
  - removed the media type `application/json` for the response with the status `204`
  - added the required property `detail` to the response with the `404` status

[Change history](https://skmtc.dev/humansignal/apis/label-studio-api/changes/api/token/blacklist/post.md)

---

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