---
title: "Delete an API key"
method: DELETE
path: "/api/credentials/keys/{heron_id}"
tags: ["Credentials"]
---

# Delete an API key

`DELETE /api/credentials/keys/{heron_id}`

Permanently delete an API key. This cannot be undone. Consider deactivating instead if you might need to rollback.

## Path parameters

- `heron_id` string, required

## Response `204`

Key deleted

## Other responses

- `404` — Key not found

---

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