---
title: "Delete an API key (admin only)"
method: DELETE
path: "/users/api-keys/{keyId}"
tags: ["API Keys"]
---

# Delete an API key (admin only)

`DELETE /users/api-keys/{keyId}`

Permanently deletes an API key. It can no longer be used to authenticate.

## Path parameters

- `keyId` string, required

## Response `200`

API key deleted.

## Other responses

- `403` — Admin access required.
- `404` — API key not found.
- `500` — Failed to delete API key.

---

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