---
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

---

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