# Vault kv patch equivalent command for HTTP API KV V2 engine

**URL:** <https://discuss.hashicorp.com/t/vault-kv-patch-equivalent-command-for-http-api-kv-v2-engine/19906>\
**Category:** Vault\
**Created:** [January 20, 2021, 1:00pm UTC](https://discuss.hashicorp.com/t/vault-kv-patch-equivalent-command-for-http-api-kv-v2-engine/19906 "2021-01-20T13:00:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![syed.hassan](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/syed.hassan/32/16422_2.png) [@syed.hassan](https://discuss.hashicorp.com/u/syed.hassan)\
**Post date:** [January 20, 2021, 1:00pm UTC](https://discuss.hashicorp.com/t/vault-kv-patch-equivalent-command-for-http-api-kv-v2-engine/19906/1 "2021-01-20T13:00:46Z")

</div>

Hi,  
I am looking for an equivalent HTTP API call the replicates the “vault kv patch” command ([kv patch - Command | Vault by HashiCorp](https://www.vaultproject.io/docs/commands/kv/patch)) that is used with the KV V2 engine. I have had a look in the documentation but cannot find the equivalent HTTP API request ([KV - Secrets Engines - HTTP API | Vault by HashiCorp](https://www.vaultproject.io/api-docs/secret/kv/kv-v2)).

Is there an equivalent for this command available? I am using version 1.6.1.

Thanks

---

<div class="post-metadata">

**Author:** ![ncabatoff](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/ncabatoff/32/818_2.png) [@ncabatoff](https://discuss.hashicorp.com/u/ncabatoff)\
**Post date:** [January 20, 2021, 1:19pm UTC](https://discuss.hashicorp.com/t/vault-kv-patch-equivalent-command-for-http-api-kv-v2-engine/19906/2 "2021-01-20T13:19:54Z")

</div>

There is no HTTP API equivalent I’m afraid. If you’d like to read about why we haven’t implemented it, there’s some discussion in [PATCH API needed for updating multiple secrets stored at a single URI path · Issue #1468 · hashicorp/vault · GitHub](https://github.com/hashicorp/vault/issues/1468) and [Vault write can overwrite and accidentally lose data · Issue #182 · hashicorp/vault · GitHub](https://github.com/hashicorp/vault/issues/182).
