From a1d242f18cd90a6418cbdd754c20f9e7873d94e5 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Thu, 28 Jan 2016 15:06:52 -0500 Subject: [PATCH] Add list documentationf for mysql --- .../source/docs/secrets/mysql/index.html.md | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/website/source/docs/secrets/mysql/index.html.md b/website/source/docs/secrets/mysql/index.html.md index 7be0e652ae..36ac383e55 100644 --- a/website/source/docs/secrets/mysql/index.html.md +++ b/website/source/docs/secrets/mysql/index.html.md @@ -258,6 +258,43 @@ allowed to read. +#### LIST + +
+
Description
+
+ Returns a list of available roles. Only the role names are returned, not + any values. +
+ +
Method
+
GET
+ +
URL
+
`/roles/?list=true`
+ +
Parameters
+
+ None +
+ +
Returns
+
+ + ```javascript + { + "auth": null, + "data": { + "keys": ["dev", "prod"] + }, + "lease_duration": 2592000, + "lease_id": "", + "renewable": false + } + ``` + +
+
#### DELETE