Grafana user with "isAdmin": true from HTTP API response does not match Admin role in GUI

Dear experts,
I grant Grafana Admin rights to my user via URL “http://localhost:3000/api/admin/users/{{user_id}}/permissions” with body isGrafanaAdmin: true
I got response message “User permissions updated” with status 200
I do confirm my user has “isAdmin”: true from response to URL http://localhost:3000/api/users
But Grafana 7.1.5 GUI => Configuration => Users still displays my user with Viewer role

Thanks for your help.
Best Regards

Hi,

Please use isAdmin instead.

Check the following:

The isGrafanaAdmin property and the isAdmin property are not the same thing. This is not very well explained in the docs for the API.

Grafana Admin is a super admin: http://docs.grafana.org/administration/permissions/#grafana-admin

The isAdmin property is whether the user is an org admin or not: http://docs.grafana.org/administration/permissions/#admin-role

Reference: Can not change permissions while using grafana rest api · Issue #11945 · grafana/grafana · GitHub

Hope it helps.

Good Luck