---
title: "Delete a key"
method: DELETE
path: "/storage/kvs/{id}/keys/{key}"
tags: ["kv keys"]
---

# Delete a key

`DELETE /storage/kvs/{id}/keys/{key}`

Deletes a key. Idempotent: deleting a key that does not exist still succeeds. The namespace itself must exist and be provisioned.

## Path parameters

- `id` string, uuid, required
- `key` string, required

## Response `200`

Key deleted (returned even if the key did not exist)

## Other responses

- `400` — Bad request — invalid `id` or key name
- `401` — Unauthorized
- `404` — KV namespace not found (a missing key is not an error)
- `409` — Conflict — the namespace is not ready (`status` is not `provision_ok`)
- `500` — Internal server error

## Changes

- **2026-07-23** `eb02d7e7280b` — 1 info
  - the endpoint scheme security `bearerAuth` was removed from the API

[Change history](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/changes/storage/kvs/:id/keys/:key/delete.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/revisions/eb02d7e7280b?raw)
