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:
Mark Paluch 2016-10-11 17:12:07 +02:00
parent 8d423616ec
commit 7652e18aea

View file

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