From 392b8672902936788d174b24a10d4b5e33fa255f Mon Sep 17 00:00:00 2001 From: Yoko Hyakuna Date: Fri, 7 Apr 2023 16:27:59 -0700 Subject: [PATCH] Update the HTTP verb for consistency --- website/content/api-docs/secret/kv/kv-v2.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/api-docs/secret/kv/kv-v2.mdx b/website/content/api-docs/secret/kv/kv-v2.mdx index 79646f1d93a9..9f0fdf0f82ae 100644 --- a/website/content/api-docs/secret/kv/kv-v2.mdx +++ b/website/content/api-docs/secret/kv/kv-v2.mdx @@ -469,7 +469,7 @@ numbers from the key-value store. | Method | Path | |:-------|:------------------------------------| -| `POST` | `/:secret-mount-path/destroy/:path` | +| `PUT` | `/:secret-mount-path/destroy/:path` | ### Parameters @@ -495,7 +495,7 @@ numbers from the key-value store. ```shell-session $ curl \ --header "X-Vault-Token: ..." \ - --request POST \ + --request PUT \ --data @payload.json \ https://127.0.0.1:8200/v1/secret/destroy/my-secret ```