Does grafana provide a API for login?

Grafana already provide a logout API, I can use curl to logout a user, for example:
curl -k -X POST -H “Content-Type: application/json” https://admin:admin@community.grafana.com/api/admin/users/5/logout

My question is does grafana also provide a API so that we can let a user to login grafana via this API instead of grafana login page?
for example:
curl -k -X POST -H “Content-Type: application/json” -d ‘{“login”:“admin”,“password”:“admin”}’ https://community.grafana.com/api/login

Please provides details of the API If you know of it, thanks.

I don’t see how this could work, because there’s no way to tell Grafana the IP
address and port number to expect the “logged in” connection to come from, so
there would be no way for the system to know which new connection to (a) trust
and (b) associate with that specific user.

Antony.

This topic was automatically closed after 365 days. New replies are no longer allowed.