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

# Delete an API key

`DELETE /v1/account/keys/{key_id}`

Delete an API key owned by the authenticated account. This operation is irreversible.

## Path parameters

- `key_id` integer, required

## Response `204`

Successful Response

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `402` — Insufficient credits
- `403` — Forbidden
- `410` — Model deprecated
- `422` — Validation error
- `429` — Rate limited
- `500` — Internal server error
- `503` — Upstream service error

---

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