From 7652e18aeac6e0077ee78392d2c0defc0101c003 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Tue, 11 Oct 2016 17:12:07 +0200 Subject: [PATCH] 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. --- website/source/docs/auth/approle.html.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/source/docs/auth/approle.html.md b/website/source/docs/auth/approle.html.md index 3009c87763..b6a6d7959c 100644 --- a/website/source/docs/auth/approle.html.md +++ b/website/source/docs/auth/approle.html.md @@ -607,7 +607,7 @@ Secret ID attached to the role ### /auth/approle/role/[role_name]/secret-id/destroy -#### DELETE +#### POST
Description
@@ -615,7 +615,7 @@ Secret ID attached to the role
Method
-
DELETE
+
POST
URL
`/auth/approle/role/[role_name]/secret-id/destroy`
@@ -689,7 +689,7 @@ Accessor of the secret ID
### /auth/approle/role/[role_name]/secret-id-accessor/destroy -#### DELETE +#### POST
Description
@@ -697,7 +697,7 @@ Accessor of the secret ID
Method
-
DELETE
+
POST
URL
`/auth/approle/role/[role_name]/secret-id-accessor/destroy`