Admin endpoint for fetching user details of _any_ user.
GET/users/admin
URL | Description |
---|---|
https://ceems-demo.myaddr.tools:7443/api/v1 | Demo |
This endpoint will show details of the queried user(s). The
current user is always identified by the header X-Grafana-User
in
the request.
The user who is making the request must be in the list of admin users configured for the server.
When the query parameter user
is empty, all users will be returned
in the response.
The details include list of projects that user is currently a part of.
When query parameter role
is set to admin
, only admin users will
will be returned. The tags
values indicates the source of admin user.
Request
Responses
- 200
- 401
- 500
OK
Unauthorized
Internal Server Error