- What Grafana version and what operating system are you using?
grafana 6.4; debian os
- What are you trying to achieve?
I tried to search users via http api.
- How are you trying to achieve it?
- I generated an API key as Admin role
- I sent a http request:
GET /api/users?perpage=10&page=1
and use the api key in basic auth: username is api_key
, password is the key itself.
- What happened?
response is { "message": "Permission denied" }
- What did you expect to happen?
It should work and return the users.
-
Can you copy/paste the configuration(s) that you are having problems with?
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
-
Did you follow any online instructions? If so, what is the URL?