The following methods are all relating to Grafana administration
g.get_admin_settings()
# Give user global admin privilege in Grafana
g.update_user_permissions(6, {"isGrafanaAdmin" => false})
# Give user admin privilege in their current organization
g.update_user_permissions(6, "Admin")
g.delete_user(6)
g.create_user({
"name": "User",
"email": "user@graf.com",
"login": "user",
"password": "userpassword"
})
g.update_user_pass(6, 'VerySecretPassword')