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

# Delete an API key

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

Permanently deletes an API key. Requests using the key stop authenticating immediately.

## Path parameters

- `label` string, required — Label of the API key to delete.

## Response `204`

API key deleted

## Other responses

- `400` — Bad request — input failed validation
- `401` — Unauthorized — missing or invalid credentials
- `403` — Forbidden — caller has no workspace or no access
- `404` — API key not found in this workspace
- `500` — Internal server error

---

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