Browse Source

docs: Added requests body for 'Password for User' and 'Permissions' in the admin api documentation

A78677 8 years ago
parent
commit
ab874cd037
1 changed files with 5 additions and 1 deletions
  1. 5 1
      docs/sources/http_api/admin.md

+ 5 - 1
docs/sources/http_api/admin.md

@@ -237,12 +237,14 @@ Change password for specific user
     Accept: application/json
     Accept: application/json
     Content-Type: application/json
     Content-Type: application/json
 
 
+    {"password":"userpassword"}
+
 **Example Response**:
 **Example Response**:
 
 
     HTTP/1.1 200
     HTTP/1.1 200
     Content-Type: application/json
     Content-Type: application/json
 
 
-    {"password":"userpassword"}
+    {"message": "User password updated"}
 
 
 ## Permissions
 ## Permissions
 
 
@@ -254,6 +256,8 @@ Change password for specific user
     Accept: application/json
     Accept: application/json
     Content-Type: application/json
     Content-Type: application/json
 
 
+    {"isGrafanaAdmin": true}
+
 **Example Response**:
 **Example Response**:
 
 
     HTTP/1.1 200
     HTTP/1.1 200