Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 516 Bytes

ORGANIZATION.md

File metadata and controls

30 lines (24 loc) · 516 Bytes

Organization Related API Methods


The following methods are all relating to Grafana administration

Get ognaization for current user:
g.get_current_org()
Update properties of the current organization:
g.update_current_org({
  "name": "Main Org."
})
Get users in current organizations:
g.get_current_org_users()
Add a global user to the current orgnaization:
g.add_user_to_current_org({
  "role": "Admin",
  "loginOrEmail": "jdoe"
})