How to query all admin users?

Seems as if the API will not work with a token (based on the documentation for v4.6). Can you explain how to run a query that will provide a list of all accounts that have admin access?

Using basic authentication is the easiest way. Example below with user admin and password admin

curl "http://admin:admin@community.grafana.com/api/users"

@daniellee could you please explain how to write this command with the api Token as the authentification if that is possible?
And why does it say localhost? Can I only run that directly on the server?