I have created few Grafana users using curl command. Here is the command i used.
> Blockquote
curl -XPOST -H "Content-Type: application/json" -d '{
"name":"user1@graf.com",
"email":"user1@graf.com",
"password":"userpassword",
"role": "Admin"
}' http://admin:admin@grafana01.default.svc.cluster.local:3000/api/admin/users
> Blockquote
Now i want to change the role from **Admin** to **Viewer** . How can i do that?. is there any other way I can try this out?. Any help is appreciated?
Thanks
shak