{ "opencollection": "1.0.0", "info": { "name": "Grafana HTTP Access Current API", "version": "11.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Current", "type": "folder" }, "items": [ { "info": { "name": "Grafana Get Current Org", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.grafana.net/api/org" }, "docs": "This API operation retrieves information about the currently authenticated user's organization in Grafana. When called, it returns details of the organization context that the user is currently operating within, including properties such as the organization ID, name, and address. This is a GET request to the /org endpoint that requires authentication and provides essential context about which organizational scope the user's actions and queries will apply to within the Grafana instance." }, { "info": { "name": "Grafana Update Current Org", "type": "http" }, "http": { "method": "PUT", "url": "https://{instance}.grafana.net/api/org", "body": { "type": "json", "data": "{}" } }, "docs": "Updates the current organization's settings in Grafana, allowing modifications to the organization's name and other configuration properties. This operation requires authentication and operates on the organization context of the currently authenticated user. The request body should contain the updated organization details as a JSON object, and upon successful execution, it returns the updated organization information. This is typically used by organization administrators to manage their organiza" }, { "info": { "name": "Grafana Update Current Org Address", "type": "http" }, "http": { "method": "PUT", "url": "https://{instance}.grafana.net/api/org/address", "body": { "type": "json", "data": "{}" } }, "docs": "Updates the physical address information for the currently authenticated organization in Grafana. This PUT endpoint modifies the organization's address details, which may include street address, city, state, postal code, and country information. The operation requires appropriate authentication and permissions to modify organization settings, and it affects only the organization context of the current user session. The updated address information is typically used for administrative purposes, bi" }, { "info": { "name": "Grafana Get Org Users For Current Org", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.grafana.net/api/org/users", "params": [ { "name": "query", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" } ] }, "docs": "This API operation retrieves a list of all users who belong to the currently authenticated organization in Grafana. When called, it returns user information for members of the organization context associated with the API request, including details such as user IDs, email addresses, login names, roles within the organization, and authentication information. This is useful for administrators who need to audit organization membership, manage user access, or integrate Grafana's user management with " }, { "info": { "name": "Grafana Add Org User To Current Org", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.grafana.net/api/org/users", "body": { "type": "json", "data": "{}" } }, "docs": "This API operation allows administrators to add a new user to the current organization in Grafana by sending a POST request to the /org/users endpoint. When invoked, it creates a new membership association between a specified user and the organization that the authenticated user currently belongs to. The request typically requires parameters such as the user's login credentials or user ID, along with the desired role (Viewer, Editor, or Admin) that the new member should have within the organizat" }, { "info": { "name": "Grafana Get Org Users For Current Org Lookup", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.grafana.net/api/org/users/lookup", "params": [ { "name": "query", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" } ] }, "docs": "This API operation retrieves user information for members of the current organization in Grafana by performing a lookup query. It uses a GET request to the '/org/users/lookup' endpoint and returns details about users belonging to the organization context of the authenticated request. This is typically used when you need to search for or validate specific users within your current Grafana organization without iterating through the entire user list, providing a more efficient way to find user data" }, { "info": { "name": "Grafana Update Org User For Current Org", "type": "http" }, "http": { "method": "PATCH", "url": "https://{instance}.grafana.net/api/org/users/:user_id", "params": [ { "name": "user_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "This API operation allows you to update an existing organization user's details within the currently authenticated organization in Grafana. By sending a PATCH request to the endpoint with a specific user ID, you can modify properties such as the user's role within the organization without affecting their underlying Grafana user account. This is particularly useful for managing permissions and access levels of team members, allowing administrators to promote users to admin roles or adjust their o" }, { "info": { "name": "Grafana Remove Org User For Current Org", "type": "http" }, "http": { "method": "DELETE", "url": "https://{instance}.grafana.net/api/org/users/:user_id", "params": [ { "name": "user_id", "value": "", "type": "path" } ] }, "docs": "This API operation removes a specified user from the current organization in Grafana by making a DELETE request to the endpoint /org/users/{user_id}, where {user_id} is the unique identifier of the user to be removed. When executed, it disassociates the targeted user from the organization context in which the API call is made, effectively revoking their access and permissions within that specific organization. This operation requires appropriate administrative privileges within the current organ" }, { "info": { "name": "Grafana Get Current Org Quota", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.grafana.net/api/org/quotas" }, "docs": "This API operation retrieves the current resource quotas configured for the organization in Grafana. When called, it returns the quota limits that have been set for various resources such as the maximum number of users, dashboards, data sources, and API keys allowed within the organization. This is useful for administrators who need to monitor or verify the current quota settings to ensure they align with organizational policies and resource management requirements. The operation requires approp" } ] } ], "bundled": true }