Closed chintal closed 5 months ago
My mistake. The endpoint is missing, however it won't solve my problem. I want the teams a different user belongs to, not the ones for the user doing the API call. I will leave the issue open since the endpoint is indeed missing.
https://grafana.com/docs/grafana/latest/developers/http_api/user/#get-teams-for-user
This endpoint also seems to be missing.
Dear @chintal,
thank you for writing in, and for reporting that gap in API coverage. Would you be up for submitting a corresponding patch?
With kind regards, Andreas.
/cc @sedan07, @hamelg
@amotl Sure
Teams Actual User belongs to
Describe and link the Grafana API endpoint which are currently missing.
Async client does not have the API endpoint that lets one check which teams a user is a member of. I intend to use this to check whether a user needs to be added to a team (or if the user already is, in which case I don't do the write)