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.