grafana v0.1.2 Grafana.Currentorg View Source
Link to this section Summary
Functions
Add a user to the current organization, as specified by json
Delete an existing user with given id
Get the current organization
Get all users within the current organization
Update the current organization as specified by json
Update an existing user with given id, as specified by json
Link to this section Functions
Add a user to the current organization, as specified by json.
Delete an existing user with given id.
Get the current organization.
iex> {:ok, org} = Grafana.Currentorg.get …> Map.keys(org) [“address”, “id”, “name”]
Get all users within the current organization.
iex> {:ok, org_users} = Grafana.Currentorg.get_users …> Map.keys(hd(org_users)) [“email”, “login”, “orgId”, “role”, “userId”]
Update the current organization as specified by json.
Update an existing user with given id, as specified by json.