---
title: "Marks one or more versions as deleted in the KV store."
method: POST
path: "/secret/delete/{path}"
tags: ["secrets"]
---

# Marks one or more versions as deleted in the KV store.

`POST /secret/delete/{path}`

## Request body

- KvDeleteRequest
  - `versions` integer[] — The versions to be archived. The versioned data will not be deleted, but it will no longer be returned in normal get requests.

## Response `200`

OK

---

[API](https://skmtc.net/lensesio/apis/hashicorp-vault-api.md) · [All operations](https://skmtc.net/lensesio/apis/hashicorp-vault-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lensesio/hashicorp-vault-api/revisions/bd8194de0697/schema)
