---
title: "Rotate Api Key"
method: POST
path: "/v1/publishers/me/api-key/rotate"
tags: ["publishers"]
---

# Rotate Api Key

`POST /v1/publishers/me/api-key/rotate`

## Request

- Base URL: `https://docs.xenarch.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.xenarch.com/v1/publishers/me/api-key/rotate`
- Auth: none declared. Required headers: `x-confirm-password`, `authorization`

## Headers

- `x-confirm-password` string, required
- `authorization` string, required

## Response `200`

Successful Response

- ApiKeyRotateResponse
  - `api_key` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xenarch/apis/xenarch-platform.md) · [All operations](https://skmtc.dev/xenarch/apis/xenarch-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/xenarch/apis/xenarch-platform/revisions/88121faafcbf?raw)
