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 ```