---
title: "Delete keys."
method: POST
path: "/v1/kv/del"
tags: ["Key-Value"]
---

# Delete keys.

`POST /v1/kv/del`

## Request

- Base URL: `https://api.scalix.world`
- URL: `https://api.scalix.world/v1/kv/del`
- Auth: HTTP bearer

Removes one or more keys from the tenant's key-value store (batch delete).

## Request body

- KvDelRequest: Body for `/v1/kv/del` — one or more keys to delete (batch delete). Matches the implementation (`crates/kvstore/src/api.rs` `DelRequest`), which takes a `keys` array, not a single `key`.
  - `keys` string[], required

## Response `200`

Key deleted

## Other responses

- `401`: Missing or invalid API key
- `500`: Internal error

---

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