---
title: "Rotate the claim_token of an anonymous account (auth required)"
method: POST
path: "/api/v1/me/claim/revoke"
---

# Rotate the claim_token of an anonymous account (auth required)

`POST /api/v1/me/claim/revoke`

## Request

- Base URL: `https://roamzy.io`
- URL: `https://roamzy.io/api/v1/me/claim/revoke`
- Auth: HTTP bearer

Use when the original claim_url leaked (e.g. pasted into a public transcript). Mints a fresh claim_token and invalidates the old one immediately. Only anonymous accounts have a claim_token — already-claimed accounts get 404.

## Response `200`

Rotated — new claim_token and claim_url are SHOWN ONCE

- object
  - `ok` boolean
  - `claim_token` string: SHOWN ONCE
  - `claim_url` string, uri
  - `hint` string

## Other responses

- `401`: Missing or invalid token
- `404`: Account is already claimed — nothing to rotate

---

[API](https://skmtc.dev/roamzy/apis/roamzy-agent-api.md) · [All operations](https://skmtc.dev/roamzy/apis/roamzy-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/roamzy/apis/roamzy-agent-api/revisions/8757b8d0b779?raw)
