Grafana · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Grafana HTTP API. Access Control API

26 actions 26 updates phrasing extends openapi/grafana-com-access-control-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Grafana's API. It is a proposal applied on top of the contract, not a document Grafana publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 26 · first 16 shown; the file carries all of them

$.info
$.paths['/access-control/roles'].get
$.paths['/access-control/roles'].post
$.paths['/access-control/roles/{roleUID}'].get
$.paths['/access-control/roles/{roleUID}'].put
$.paths['/access-control/roles/{roleUID}'].delete
$.paths['/access-control/roles/{roleUID}/assignments'].get
$.paths['/access-control/roles/{roleUID}/assignments'].put
$.paths['/access-control/status'].get
$.paths['/access-control/teams/roles/search'].post
$.paths['/access-control/teams/{teamId}/roles'].get
$.paths['/access-control/teams/{teamId}/roles'].put
$.paths['/access-control/teams/{teamId}/roles'].post
$.paths['/access-control/teams/{teamId}/roles/{roleUID}'].delete
$.paths['/access-control/users/roles/search'].post
$.paths['/access-control/users/{userId}/roles'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Grafana HTTP API. Access Control API
  version: 1.0.0
extends: openapi/grafana-com-access-control-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-17'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 25
- target: $.paths['/access-control/roles'].get
  update:
    x-apievangelist-phrasing:
      intent: List all roles
      effect: read
      questions:
      - What roles exist in my Grafana organization?
      - Can I list only the roles I am allowed to assign?
      instructions:
      - text: List all roles.
      - text: List roles that I am allowed to delegate.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/roles'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a custom role
      effect: write
      questions:
      - How do I create a custom role with its own set of permissions?
      - Can I create a role that inherits only a subset of my own permissions?
      instructions:
      - text: Create a role named {name} with permissions {permissions}.
        slots:
          name: requestBody.name
          permissions: requestBody.permissions
      - text: Create a custom role {name} with display name {displayName}.
        slots:
          name: requestBody.name
          displayName: requestBody.displayName
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/roles/{roleUID}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a role
      effect: read
      questions:
      - What permissions does a given role grant?
      - Can I look up a role by its UID?
      instructions:
      - text: Show role {roleUID}.
        slots:
          roleUID: path.roleUID
      - text: Get the permissions of role {roleUID}.
        slots:
          roleUID: path.roleUID
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/roles/{roleUID}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a custom role
      effect: write
      questions:
      - How do I change the permissions of an existing custom role?
      - Can I rename a custom role I already created?
      instructions:
      - text: Update role {roleUID} to have permissions {permissions}.
        slots:
          roleUID: path.roleUID
          permissions: requestBody.permissions
      - text: Rename existing role {roleUID} to {displayName}.
        slots:
          roleUID: path.roleUID
          displayName: requestBody.displayName
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/roles/{roleUID}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a custom role
      effect: destructive
      questions:
      - How do I delete a custom role?
      - Can I force-delete a role that is still assigned?
      instructions:
      - text: Delete role {roleUID}.
        slots:
          roleUID: path.roleUID
      - text: Force-delete role {roleUID} with force {force}.
        slots:
          roleUID: path.roleUID
          force: query.force
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/roles/{roleUID}/assignments'].get
  update:
    x-apievangelist-phrasing:
      intent: List who a role is assigned to
      effect: read
      questions:
      - Which users and teams hold a particular role?
      - Can I see role assignments without team sync?
      instructions:
      - text: Show assignments of role {roleUID}.
        slots:
          roleUID: path.roleUID
      - text: List who has role {roleUID} assigned.
        slots:
          roleUID: path.roleUID
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/roles/{roleUID}/assignments'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a role's assignments
      effect: write
      questions:
      - How do I replace the users and teams assigned to a role?
      - Can I set role assignments for several teams at once?
      instructions:
      - text: Assign role {roleUID} to users {users}.
        slots:
          roleUID: path.roleUID
          users: requestBody.users
      - text: Replace the assignments of role {roleUID} with teams {teams}.
        slots:
          roleUID: path.roleUID
          teams: requestBody.teams
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/status'].get
  update:
    x-apievangelist-phrasing:
      intent: Check if fine-grained access control is on
      effect: read
      questions:
      - Is fine-grained access control enabled in my Grafana instance?
      - How do I check the access control status?
      instructions:
      - text: Check the access control status.
      - text: Tell me whether fine-grained access control is enabled.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/teams/roles/search'].post
  update:
    x-apievangelist-phrasing:
      intent: List roles assigned to several teams
      effect: read
      questions:
      - Which roles are directly assigned to a set of teams?
      - Can I find roles assigned to multiple teams at once?
      instructions:
      - text: List roles assigned to teams {teamIds}.
        slots:
          teamIds: requestBody.teamIds
      - text: Show roles directly assigned to teams {teamIds} in org {orgId}.
        slots:
          teamIds: requestBody.teamIds
          orgId: requestBody.orgId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/teams/{teamId}/roles'].get
  update:
    x-apievangelist-phrasing:
      intent: List a team's roles
      effect: read
      questions:
      - What roles does a particular team hold?
      - Can I see a team's role assignments in another organization?
      instructions:
      - text: List roles assigned to team {teamId}.
        slots:
          teamId: path.teamId
      - text: Show team {teamId}'s roles in org {targetOrgId}.
        slots:
          teamId: path.teamId
          targetOrgId: query.targetOrgId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/teams/{teamId}/roles'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a team's roles
      effect: write
      questions:
      - How do I replace a team's roles with a new set?
      - Can I set several roles on a team at once?
      instructions:
      - text: Replace team {teamId}'s roles with {roleUids}.
        slots:
          teamId: path.teamId
          roleUids: requestBody.roleUids
      - text: Set team {teamId}'s roles to {roleUids} in org {targetOrgId}.
        slots:
          teamId: path.teamId
          roleUids: requestBody.roleUids
          targetOrgId: query.targetOrgId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/teams/{teamId}/roles'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a role to a team
      effect: write
      questions:
      - How do I give a team an additional role?
      - Can I add one role to a team without replacing its others?
      instructions:
      - text: Add role {roleUid} to team {teamId}.
        slots:
          roleUid: requestBody.roleUid
          teamId: path.teamId
      - text: Give team {teamId} the {roleUid} role.
        slots:
          teamId: path.teamId
          roleUid: requestBody.roleUid
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/teams/{teamId}/roles/{roleUID}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a role from a team
      effect: destructive
      questions:
      - How do I take a role away from a team?
      - Can I revoke a single role from a team?
      instructions:
      - text: Remove role {roleUID} from team {teamId}.
        slots:
          roleUID: path.roleUID
          teamId: path.teamId
      - text: Revoke team {teamId}'s {roleUID} role.
        slots:
          teamId: path.teamId
          roleUID: path.roleUID
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/users/roles/search'].post
  update:
    x-apievangelist-phrasing:
      intent: List roles assigned to several users
      effect: read
      questions:
      - Which roles are directly assigned to a set of users?
      - Can I find roles assigned to multiple users at once?
      instructions:
      - text: List roles assigned to users {userIds}.
        slots:
          userIds: requestBody.userIds
      - text: Show roles directly assigned to users {userIds} in org {orgId}.
        slots:
          userIds: requestBody.userIds
          orgId: requestBody.orgId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/users/{userId}/roles'].get
  update:
    x-apievangelist-phrasing:
      intent: List a user's roles
      effect: read
      questions:
      - What roles does a specific user hold?
      - Can I see a user's roles in another organization?
      instructions:
      - text: List roles assigned to user {userId}.
        slots:
          userId: path.userId
      - text: Show user {userId}'s roles in org {targetOrgId}.
        slots:
          userId: path.userId
          targetOrgId: query.targetOrgId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/users/{userId}/roles'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a user's roles
      effect: write
      questions:
      - How do I replace a user's roles with a new set?
      - Can I set several roles on a user at once?
      instructions:
      - text: Replace user {userId}'s roles with {roleUids}.
        slots:
          userId: path.userId
          roleUids: requestBody.roleUids
      - text: Set user {userId}'s roles to {roleUids} in org {targetOrgId}.
        slots:
          userId: path.userId
          roleUids: requestBody.roleUids
          targetOrgId: query.targetOrgId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/users/{userId}/roles'].post
  update:
    x-apievangelist-phrasing:
      intent: Assign a role to a user
      effect: write
      questions:
      - How do I give a user an additional role?
      - Can I add one role to a user without replacing their other roles?
      instructions:
      - text: Assign role {roleUid} to user {userId}.
        slots:
          roleUid: requestBody.roleUid
          userId: path.userId
      - text: Give user {userId} the {roleUid} role.
        slots:
          userId: path.userId
          roleUid: requestBody.roleUid
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/users/{userId}/roles/{roleUID}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Revoke a role from a user
      effect: destructive
      questions:
      - How do I take a role away from a user?
      - Can I revoke a single role from a user?
      instructions:
      - text: Revoke role {roleUID} from user {userId}.
        slots:
          roleUID: path.roleUID
          userId: path.userId
      - text: Remove user {userId}'s {roleUID} role.
        slots:
          userId: path.userId
          roleUID: path.roleUID
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/{resource}/description'].get
  update:
    x-apievangelist-phrasing:
      intent: Describe a resource's access control
      effect: read
      questions:
      - What access control properties does a given resource have?
      - Can I get a description of a resource's access control properties?
      instructions:
      - text: Describe the access control properties of {resource}.
        slots:
          resource: path.resource
      - text: Get the access control description for resource {resource}.
        slots:
          resource: path.resource
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/{resource}/{resourceID}'].get
  update:
    x-apievangelist-phrasing:
      intent: List a resource's permissions
      effect: read
      questions:
      - Which permissions does a given resource grant?
      - Can I list the permissions for a specific dashboard or folder?
      instructions:
      - text: List permissions for {resource} {resourceID}.
        slots:
          resource: path.resource
          resourceID: path.resourceID
      - text: Show what {resource} {resourceID} allows.
        slots:
          resource: path.resource
          resourceID: path.resourceID
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/{resource}/{resourceID}'].post
  update:
    x-apievangelist-phrasing:
      intent: Assign permissions to a resource
      effect: write
      questions:
      - How do I grant a user or team access to a specific dashboard or folder?
      - Can I set permissions on a data source for a built-in role?
      instructions:
      - text: Assign permissions {permissions} to {resource} {resourceID}.
        slots:
          permissions: requestBody.permissions
          resource: path.resource
          resourceID: path.resourceID
      - text: Grant access to resource {resource} {resourceID} for a user or team.
        slots:
          resource: path.resource
          resourceID: path.resourceID
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/{resource}/{resourceID}/builtInRoles/{builtInRole}'].post
  update:
    x-apievangelist-phrasing:
      intent: Assign permissions to a built-in role on a resource
      effect: write
      questions:
      - Can I give a built-in role access to a dashboard through the API?
      - What's the way to attach a built-in role's permissions to a folder?
      instructions:
      - text: Assign built-in role {builtInRole} permissions on {resource} {resourceID}.
        slots:
          builtInRole: path.builtInRole
          resource: path.resource
          resourceID: path.resourceID
      - text: Set built-in role {builtInRole} access to resource {resource} {resourceID}.
        slots:
          builtInRole: path.builtInRole
          resource: path.resource
          resourceID: path.resourceID
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/{resource}/{resourceID}/teams/{teamID}'].post
  update:
    x-apievangelist-phrasing:
      intent: Assign permissions to a team on a resource
      effect: write
      questions:
      - How do I give a team access to a folder?
      - Can I set team-level permissions on a data source?
      instructions:
      - text: Assign team {teamID} permissions on {resource} {resourceID}.
        slots:
          teamID: path.teamID
          resource: path.resource
          resourceID: path.resourceID
      - text: Grant team {teamID} access to resource {resource} {resourceID}.
        slots:
          teamID: path.teamID
          resource: path.resource
          resourceID: path.resourceID
      method: generated
      generated: '2026-11-17'
- target: $.paths['/access-control/{resource}/{resourceID}/users/{userID}'].post
  update:
    x-apievangelist-phrasing:
      intent: Assign permissions to a user on a resource
      effect: write
      questions:
      - How do I give a specific user access to a dashboard?
      - Can I set a service account's permissions on a folder?
      instructions:
      - text: Assign user {userID} permissions on {resource} {resourceID}.
        slots:
          userID: path.userID
          resource: path.resource
          resourceID: path.resourceID
      - text: Grant user {userID} access to resource {resource} {resourceID}.
        slots:
          userID: path.userID
          resource: path.resource
          resourceID: path.resourceID
      method: generated
      generated: '2026-11-17'
- target: $.paths['/admin/provisioning/access-control/reload'].post
  update:
    x-apievangelist-phrasing:
      intent: Reload the access control configuration
      effect: write
      questions:
      - How do I reload the access control configuration after provisioning?
      - Can I force a provisioned access control reload?
      instructions:
      - text: Reload the access control configuration.
      - text: Trigger a provisioned access control reload.
      method: generated
      generated: '2026-11-17'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/grafana-com-access-control-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.