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

# Delete an API key

`DELETE /v1/api-keys/{uuid}`

Delete an API key. You cannot delete the last remaining key for the tenant, nor the key currently authenticating the request — both return 409. A successful deletion returns no response body.

## Path parameters

- `uuid` string, uuid, required

## Response `204`

The API key was deleted. No response body is returned.

## Other responses

- `409` — Conflict — you tried to delete the last remaining key or the key authenticating this request.

---

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