---
title: "Rotate Api Key"
method: POST
path: "/api/keys/rotate"
tags: ["Account and billing"]
---

# Rotate Api Key

`POST /api/keys/rotate`

## Request

- Base URL: `https://epw.tools`
- URL: `https://epw.tools/api/keys/rotate`
- Auth: none declared

Replace your API key. The old key stops working at once; files, credits, history, webhooks, projects,
monitored sites and team ownership move to the new key.

## Headers

- `X-API-Key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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