---
title: "DELETE /key-value-stores/{KvsARN}/keys/{Key}#If-Match"
method: DELETE
path: "/key-value-stores/{KvsARN}/keys/{Key}#If-Match"
---

# DELETE /key-value-stores/{KvsARN}/keys/{Key}#If-Match

`DELETE /key-value-stores/{KvsARN}/keys/{Key}#If-Match`

Deletes the key value pair specified by the key.

## Path parameters

- `KvsARN` string, required
- `Key` string, required

## Headers

- `If-Match` string, required

## Response `200`

Success

- DeleteKeyResponse — Metadata information about a Key Value Store.
  - `ItemCount` integer, required — Number of key value pairs in the Key Value Store after the successful delete.
  - `TotalSizeInBytes` integer, required — Total size of the Key Value Store after the successful delete, in bytes.

## Other responses

- `480` — ConflictException
- `481` — ValidationException
- `482` — InternalServerException
- `483` — ServiceQuotaExceededException
- `484` — ResourceNotFoundException
- `485` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/cloudfront-keyvaluestore.md) · [All operations](https://skmtc.net/aws/apis/cloudfront-keyvaluestore/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/cloudfront-keyvaluestore/versions/81b65599e9cc/schema)
