Update the HTTP verb for consistency (#20056)

This commit is contained in:
Yoko Hyakuna
2023-04-11 13:35:06 -07:00
committed by GitHub
parent 08aa30ad72
commit 216880c237

View File

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