Skip to content

Commit c8f1626

Browse files
authored
Update README.md
1 parent 8c40ead commit c8f1626

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ grafana_api = GrafanaFace(auth='abcde....', host='api.my-grafana-host.com')
2828
# Create user
2929
user = grafana_api.admin.create_user({"name": "User", "email": "[email protected]", "login": "user", "password": "userpassword", "OrgId": 1})
3030

31+
# Change user password
32+
user = grafana_api.admin.change_user_password(2, "464tw4eyw4y4yw")
33+
3134
# Search dashboards based on tag
3235
grafana_api.search.search_dashboards(tag='applications')
3336

0 commit comments

Comments
 (0)