mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Update the HTTP verb for consistency (#20056)
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user