---
title: "Reset API Key"
method: POST
path: "/auth/reset"
---

# Reset API Key

`POST /auth/reset`

Resets the user's API Key using the old API Key

## Response `200`

Successfully reset API key

- object
  - `api_key` string — Newly generated API key for the user
  - `email` string — User's email address
  - `expired_at` integer — Timestamp when the API key will expire

## Other responses

- `400` — Bad request - missing or invalid old API key
- `401` — Unauthorized - invalid or missing API key
- `500` — Internal Server Error

## Changes

- **2026-07-17** `c8f805608547` — 1 info
  - endpoint added
- **2025-02-27** `36c4e3ff1d48` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/mmhk/apis/anthropic-claude-messages-api/changes/auth/reset/post.md)

---

[API](https://skmtc.dev/mmhk/apis/anthropic-claude-messages-api.md) · [All operations](https://skmtc.dev/mmhk/apis/anthropic-claude-messages-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mmhk/anthropic-claude-messages-api/revisions/c8f805608547/schema)
