---
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

---

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