Elevating user to Grafana Admin

Hi I’m trying to make an existing user a Grafana Admin using the /api/admin/users/:id/permissions route described here Admin HTTP API | Grafana Labs. My request looks like this requests.put('http://<grafana_url>/admin/users/<user_id>/permissions", data={'isGrafanaAdmin': True}, auth=(admin_username, admin_password)) which returns a 200 status with the expected {'message': 'User permissions updated'} response. But when I log into Grafana the user isn’t a Grafana Admin and when I use the api to search for the user with the /api/users/lookup?loginOrEmail=user@mygraf.com endpoint it has 'isGrafanaAdmin': False. Does anyone know what I’m doing wrong?

[quote=“dan16, post:1, topic:43060”]
Does anyone know what I’m doing wrong?
[/quot

no everything is correct