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

---

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