---
title: "Delete an API key"
method: DELETE
path: "/keys/{hash}"
tags: ["API Keys"]
---

# Delete an API key

`DELETE /keys/{hash}`

Delete an existing API key. [Management key](/docs/guides/overview/auth/management-api-keys) required.

## Path parameters

- `hash` string, required — The hash identifier of the API key to delete

## Response `200`

API key deleted successfully

- object
  - `deleted` true, required — Confirmation that the API key was deleted

## Other responses

- `401` — Unauthorized - Authentication required or invalid credentials
- `404` — Not Found - Resource does not exist
- `429` — Too Many Requests - Rate limit exceeded
- `500` — Internal Server Error - Unexpected server error

---

[API](https://skmtc.net/openrouterteam/apis/openrouter-api.md) · [All operations](https://skmtc.net/openrouterteam/apis/openrouter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrouterteam/openrouter-api/versions/f3788187f5b7/schema)
