Grafana:更改现有用户的角色

问题描述

我使用 curl 命令创建了几个 Grafana 用户。这是我使用的命令。

curl -XPOST -H "Content-Type: application/json" -d '{
  "name":"[email protected]","email":"[email protected]","password":"userpassword","role": "Admin"
}' http://admin:[email protected]:3000/api/admin/users

现在我想将角色从 Admin 更改为 Viewer。我怎样才能做到这一点?。还有其他方法可以尝试吗?任何帮助表示赞赏?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)