---
title: "Delete key from key-value store"
method: DELETE
path: "/api/{org_id}/kv/{key}"
tags: ["KV"]
---

# Delete key from key-value store

`DELETE /api/{org_id}/kv/{key}`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/kv/{key}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/kv/:key/delete.ts> (a function with typed inputs; its response is checked against the schema)

Permanently removes a key and its associated value from the organization's key-value store. Returns a success response if the key was deleted, or a 404 error if the key doesn't exist. This operation cannot be undone, so use carefully when cleaning up unused configuration or application data.

## Path parameters

- `org_id` string, required
- `key` string, required

## Response `200`

Success

## Other responses

- `404`: NotFound

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
