---
title: "Rotates the challenge token for the account"
method: POST
path: "/v1/account:rotateChallengeToken"
tags: ["AccountService", "Accounts"]
---

# Rotates the challenge token for the account

`POST /v1/account:rotateChallengeToken`

Rotates the challenge token sent in the X-Cadenya-Challenge-Token header on MCP tools/list requests. Returns only the new token.

## Response `200`

OK

- RotateChallengeTokenResponse — Response containing the newly generated challenge token.
  - `challengeToken` string

## Other responses

- `default` — Default error response

## Changes

- **2026-07-03** `02498bf606f0` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/cadenya/apis/cadenya-api/changes/v1/account:rotateChallengeToken/post.md)

---

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