Admin api call with admin user still gets 403 permission denied

I created an admin user which I can see via UI that it has admin rights.
But when I make a simple call to admin api like this – curl -H “Accept: application/json” -k https://admin-user:password@grafana-url/api/admin/settings, I still get permission denied.

Any suggestion on what might cause this?

Figured it out. The admin user I was using isn’t a Super Admin. It’s just an organization admin.