---
title: "Rotate a domain's verification token."
method: POST
path: "/v1/domains/{id}/rotate-token"
tags: ["Domains"]
---

# Rotate a domain's verification token.

`POST /v1/domains/{id}/rotate-token`

## Request

- Base URL: `https://api.inboxy.net`
- URL: `https://api.inboxy.net/v1/domains/{id}/rotate-token`
- Auth: HTTP bearer

Requires `manage` scope. The previous TXT challenge value stops being accepted immediately; publish the new value at `_inboxy-challenge.{domain}` and re-verify. Resets verification progress — a `verified` domain is demoted to `pending` until it re-earns verification with the new token.

## Path parameters

- `id` string, uuid, required

## Response `200`

Rotated.

- object
  - `verify_token` string, required

## Other responses

- `403`: Token lacks the required scope.
- `404`: No matching resource owned by the caller.

---

[API](https://skmtc.dev/inboxy/apis/inboxy-api.md) · [All operations](https://skmtc.dev/inboxy/apis/inboxy-api/llms.txt) · [OpenAPI document](https://skmtc.dev/inboxy/apis/inboxy-api/revisions/25155a8dec0f?raw)
