---
title: "Rotate JWT refresh token"
method: POST
path: "/api/token/rotate/"
tags: ["JWT"]
---

# Rotate JWT refresh token

`POST /api/token/rotate/`

Creates a new JWT refresh token and blacklists the current one.

## Request body

- LSAPITokenRotateRequest
  - `refresh` string, required

## Response `200`

- TokenRotateResponse
  - `refresh` string, required

## Other responses

- `400` — Invalid token or token already blacklisted

## Changes

- **2026-07-07** `285d963a900f` — 1 info
  - added the required property `detail` to the response with the `400` status

[Change history](https://skmtc.dev/humansignal/apis/label-studio-api/changes/api/token/rotate/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/bcbdfd8a482f/schema)
