I am not able to discern from the docs whether there is such a thing .
So when I see a Grafana User logged in to possibly another app, I want to use the API to find their Primary or Default Org.
This is also important as when a User logs in, they should have their Primary Org as the Default.
(PS and FWIW . Its well documented and easy to obtain a list of all the Orgs that a User is a member of – but I would like just to have one Org).
Thank you @daniellee
(We are using those API command that you reference routinely )
Our use case is that we have some users that are members of multiple organizations.
So when you use the /api/users/:id:/org
Then this gives you the user’s “default org”
But what decides what the users default or is and can we change that setting?
FYI, when we write a record to db, we include the field denoting that users default org.