---
title: "Undeletes one or more versions from the KV store."
method: POST
path: "/secret/undelete/{path}"
tags: ["secrets"]
---

# Undeletes one or more versions from the KV store.

`POST /secret/undelete/{path}`

## Request body

- KvUndeleteRequest
  - `versions` integer[] — The versions to unarchive. The versions will be restored and their data will be returned on 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)
