Skip to content

Commit

Permalink
Update the HTTP verb for consistency (#20056)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhyakuna authored Apr 11, 2023
1 parent 08aa30a commit 216880c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/content/api-docs/secret/kv/kv-v2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

0 comments on commit 216880c

Please sign in to comment.