We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a86bdbe + c8f1626 commit 2b12e48Copy full SHA for 2b12e48
README.md
@@ -25,6 +25,12 @@ from grafana_api.grafana_face import GrafanaFace
25
26
grafana_api = GrafanaFace(auth='abcde....', host='api.my-grafana-host.com')
27
28
+# Create user
29
+user = grafana_api.admin.create_user({"name": "User", "email": "[email protected]", "login": "user", "password": "userpassword", "OrgId": 1})
30
+
31
+# Change user password
32
+user = grafana_api.admin.change_user_password(2, "464tw4eyw4y4yw")
33
34
# Search dashboards based on tag
35
grafana_api.search.search_dashboards(tag='applications')
36
0 commit comments