---
title: "Rotate the current token"
method: POST
path: "/tokens/rotate"
---

# Rotate the current token

`POST /tokens/rotate`

## Request

- Base URL: `https://fluidrecall.com/api/v1`
- URL: `https://fluidrecall.com/api/v1/tokens/rotate`
- Auth: one of:
  - HTTP bearer
  - HTTP dpop

Write. Revokes the bearer that called this and returns a replacement token. Save the new token for API calls. The previous token's next call is 401.

## Response `200`

The replacement one-time token.

- object

## Other responses

- `401`: Missing or wrong token.

---

[API](https://skmtc.dev/fluidrecall/apis/fluid-recall.md) · [All operations](https://skmtc.dev/fluidrecall/apis/fluid-recall/llms.txt) · [OpenAPI document](https://skmtc.dev/fluidrecall/apis/fluid-recall/revisions/7bf2563c3d2a?raw)
