Organizations API
The Organizations API provides endpoints for managing Grafana organizations and their members.Get Current Organization
Get the current organization for the authenticated user.integer
Organization ID
string
Organization name
object
Get Organization by ID
Retrieve an organization by its ID.integer
required
Organization ID
Get Organization by Name
Retrieve an organization by its name.string
required
Organization name (URL encoded)
Create Organization
Create a new organization. Only works ifusers.allow_org_create is enabled in Grafana configuration.
string
required
Organization name
integer
ID of the newly created organization
string
Confirmation message
Update Current Organization
Update the current organization’s name.string
required
New organization name
Update Organization
Update an organization by ID.integer
required
Organization ID
string
required
New organization name
Update Organization Address
Update the address for an organization.string
Address line 1
string
Address line 2
string
City
string
ZIP or postal code
string
State or province
string
Country
Delete Organization
Delete an organization by ID.integer
required
Organization ID
Search Organizations
Search all organizations.integer
default:"1000"
Number of organizations per page
integer
default:"1"
Page number
string
Search query (searches organization name)
string
Filter by exact organization name
Get Organization Users
Get all users in the current organization.integer
User ID
string
User email
string
Username
string
Organization role: “Admin”, “Editor”, or “Viewer”
Add User to Organization
Add a user to the current organization.string
required
Username or email of the user to add
string
required
Role to assign: “Admin”, “Editor”, or “Viewer”
Update User in Organization
Update a user’s role in the current organization.integer
required
User ID
string
required
New role: “Admin”, “Editor”, or “Viewer”
Remove User from Organization
Remove a user from the current organization.integer
required
User ID to remove
Permissions
If you are running Grafana Enterprise with Fine-grained access control enabled:- Read organization: Requires
orgs:readpermission - Create organization: Requires
orgs:createpermission - Update organization: Requires
orgs:writepermission - Delete organization: Requires
orgs:deletepermission - Manage org users: Requires
org.users:add,org.users:write, ororg.users:removepermissions