mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
Use POST method for destroy operations in documentation
Use POST method as most clients (including Vault cli) cannot send a body when using the DELETE HTTP method.
This commit is contained in:
parent
8d423616ec
commit
7652e18aea
1 changed files with 4 additions and 4 deletions
|
|
@ -607,7 +607,7 @@ Secret ID attached to the role
|
|||
</dl>
|
||||
|
||||
### /auth/approle/role/[role_name]/secret-id/destroy
|
||||
#### DELETE
|
||||
#### POST
|
||||
<dl class="api">
|
||||
<dt>Description</dt>
|
||||
<dd>
|
||||
|
|
@ -615,7 +615,7 @@ Secret ID attached to the role
|
|||
</dd>
|
||||
|
||||
<dt>Method</dt>
|
||||
<dd>DELETE</dd>
|
||||
<dd>POST</dd>
|
||||
|
||||
<dt>URL</dt>
|
||||
<dd>`/auth/approle/role/[role_name]/secret-id/destroy`</dd>
|
||||
|
|
@ -689,7 +689,7 @@ Accessor of the secret ID
|
|||
</dl>
|
||||
|
||||
### /auth/approle/role/[role_name]/secret-id-accessor/destroy
|
||||
#### DELETE
|
||||
#### POST
|
||||
<dl class="api">
|
||||
<dt>Description</dt>
|
||||
<dd>
|
||||
|
|
@ -697,7 +697,7 @@ Accessor of the secret ID
|
|||
</dd>
|
||||
|
||||
<dt>Method</dt>
|
||||
<dd>DELETE</dd>
|
||||
<dd>POST</dd>
|
||||
|
||||
<dt>URL</dt>
|
||||
<dd>`/auth/approle/role/[role_name]/secret-id-accessor/destroy`</dd>
|
||||
|
|
|
|||
Loading…
Reference in a new issue