Skip to content

Commit

Permalink
Update the HTTP verb for consistency (hashicorp#20056) (hashicorp#20102)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhyakuna authored Apr 12, 2023
1 parent a9d2962 commit 4c89e21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/content/api-docs/secret/kv/kv-v2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,9 @@ $ curl \
Permanently removes the specified version data for the provided key and version
numbers from the key-value store.

| Method | Path |
| :----- | :---------------------- |
| `POST` | `/secret/destroy/:path` |
| Method | Path |
|:-------|:------------------------------------|
| `PUT` | `/:secret-mount-path/destroy/:path` |

### Parameters

Expand All @@ -466,7 +466,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
```
Expand Down

0 comments on commit 4c89e21

Please sign in to comment.