Grafana · Capability

Grafana — Update

Grafana — Update. 36 operations. Lead operation: Grafana Update Role. Self-contained Naftiko capability covering one Grafana business surface.

Run with Naftiko GrafanaUpdate

What You Can Do

PUT
Updaterole — Grafana Update Role
/v1/access-control/roles/{roleuid}
PUT
Adminupdateuserpassword — Grafana Admin Update User Password
/v1/admin/users/{user-id}/password
PUT
Adminupdateuserpermissions — Grafana Admin Update User Permissions
/v1/admin/users/{user-id}/permissions
PUT
Updateuserquota — Grafana Update User Quota
/v1/admin/users/{user-id}/quotas/{quota-target}
PUT
Updateannotation — Grafana Update Annotation
/v1/annotations/{annotation-id}
POST
Updatedashboardpermissionsbyid — Grafana Update Dashboard Permissions By ID
/v1/dashboards/id/{dashboardid}/permissions
PATCH
Updatepublicdashboard — Grafana Update Public Dashboard
/v1/dashboards/uid/{dashboarduid}/public-dashboards/{uid}
POST
Updatedashboardpermissionsbyuid — Grafana Update Dashboard Permissions By UID
/v1/dashboards/uid/{uid}/permissions
PATCH
Updatecorrelation — Grafana Update Correlation
/v1/datasources/uid/{sourceuid}/correlations/{correlationuid}
PUT
Updatedatasourcebyuid — Grafana Update Data Source By UID
/v1/datasources/uid/{uid}
PUT
Updateteamlbacrulesapi — Grafana Update Team LBAC Rules Api
/v1/datasources/uid/{uid}/lbac/teams
PUT
Updatedatasourcebyid — Grafana Update Data Source By ID
/v1/datasources/{id}
PUT
Updatefolder — Grafana Update Folder
/v1/folders/{folder-uid}
POST
Updatefolderpermissions — Grafana Update Folder Permissions
/v1/folders/{folder-uid}/permissions
PUT
Updategroupmappings — Grafana Update Group Mappings
/v1/groupsync/groups/{group-id}
PATCH
Updatelibraryelement — Grafana Update Library Element
/v1/library-elements/{library-element-uid}
PUT
Updatecurrentorg — Grafana Update Current Org
/v1/org
PUT
Updatecurrentorgaddress — Grafana Update Current Org Address
/v1/org/address
PUT
Updateorgpreferences — Grafana Update Org Preferences
/v1/org/preferences
PATCH
Updateorguserforcurrentorg — Grafana Update Org User For Current Org
/v1/org/users/{user-id}
PUT
Updateorg — Grafana Update Org
/v1/orgs/{org-id}
PUT
Updateorgaddress — Grafana Update Org Address
/v1/orgs/{org-id}/address
PUT
Updateorgquota — Grafana Update Org Quota
/v1/orgs/{org-id}/quotas/{quota-target}
PATCH
Updateorguser — Grafana Update Org User
/v1/orgs/{org-id}/users/{user-id}
PUT
Updateplaylist — Grafana Update Playlist
/v1/playlists/{uid}
PUT
Updaterecordingrule — Grafana Update Recording Rule
/v1/recording-rules
PUT
Updatereport — Grafana Update Report
/v1/reports/{id}
PATCH
Updateserviceaccount — Grafana Update Service Account
/v1/serviceaccounts/{serviceaccountid}
PUT
Updateteam — Grafana Update Team
/v1/teams/{team-id}
PUT
Updateteammember — Grafana Update Team Member
/v1/teams/{team-id}/members/{user-id}
PUT
Updateteampreferences — Grafana Update Team Preferences
/v1/teams/{team-id}/preferences
PUT
Updatesignedinuser — Grafana Update Signed In User
/v1/user
GET
Updateuseremail — Grafana Update User Email
/v1/user/email/update
PUT
Updateuserpreferences — Grafana Update User Preferences
/v1/user/preferences
PUT
Updateuser — Grafana Update User
/v1/users/{user-id}
PUT
Updateprovidersettings — Grafana Update Provider Settings
/v1/v1/sso-settings/{key}

MCP Tools

grafana-update-role

Grafana Update Role

idempotent
grafana-admin-update-user-password

Grafana Admin Update User Password

idempotent
grafana-admin-update-user-permissions

Grafana Admin Update User Permissions

idempotent
grafana-update-user-quota

Grafana Update User Quota

idempotent
grafana-update-annotation

Grafana Update Annotation

idempotent
grafana-update-dashboard-permissions-id

Grafana Update Dashboard Permissions By ID

grafana-update-public-dashboard

Grafana Update Public Dashboard

idempotent
grafana-update-dashboard-permissions-uid

Grafana Update Dashboard Permissions By UID

grafana-update-correlation

Grafana Update Correlation

idempotent
grafana-update-data-source-uid

Grafana Update Data Source By UID

idempotent
grafana-update-team-lbac-rules

Grafana Update Team LBAC Rules Api

idempotent
grafana-update-data-source-id

Grafana Update Data Source By ID

idempotent
grafana-update-folder

Grafana Update Folder

idempotent
grafana-update-folder-permissions

Grafana Update Folder Permissions

grafana-update-group-mappings

Grafana Update Group Mappings

idempotent
grafana-update-library-element

Grafana Update Library Element

idempotent
grafana-update-current-org

Grafana Update Current Org

idempotent
grafana-update-current-org-address

Grafana Update Current Org Address

idempotent
grafana-update-org-preferences

Grafana Update Org Preferences

idempotent
grafana-update-org-user-current

Grafana Update Org User For Current Org

idempotent
grafana-update-org

Grafana Update Org

idempotent
grafana-update-org-address

Grafana Update Org Address

idempotent
grafana-update-org-quota

Grafana Update Org Quota

idempotent
grafana-update-org-user

Grafana Update Org User

idempotent
grafana-update-playlist

Grafana Update Playlist

idempotent
grafana-update-recording-rule

Grafana Update Recording Rule

idempotent
grafana-update-report

Grafana Update Report

idempotent
grafana-update-service-account

Grafana Update Service Account

idempotent
grafana-update-team

Grafana Update Team

idempotent
grafana-update-team-member

Grafana Update Team Member

idempotent
grafana-update-team-preferences

Grafana Update Team Preferences

idempotent
grafana-update-signed-user

Grafana Update Signed In User

idempotent
grafana-update-user-email

Grafana Update User Email

read-only idempotent
grafana-update-user-preferences

Grafana Update User Preferences

idempotent
grafana-update-user

Grafana Update User

idempotent
grafana-update-provider-settings

Grafana Update Provider Settings

idempotent

Capability Spec

grafana-update.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Grafana — Update
  description: 'Grafana — Update. 36 operations. Lead operation: Grafana Update Role. Self-contained Naftiko capability covering
    one Grafana business surface.'
  tags:
  - Grafana
  - Update
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRAFANA_API_KEY: GRAFANA_API_KEY
capability:
  consumes:
  - type: http
    namespace: grafana-update
    baseUri: http://{defaultHost}
    description: Grafana — Update business capability. Self-contained, no shared references.
    resources:
    - name: access-control-roles-roleUID
      path: /access-control/roles/{roleUID}
      operations:
      - name: updaterole
        method: PUT
        description: Grafana Update Role
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: roleUID
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: admin-users-user_id-password
      path: /admin/users/{user_id}/password
      operations:
      - name: adminupdateuserpassword
        method: PUT
        description: Grafana Admin Update User Password
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: user_id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: admin-users-user_id-permissions
      path: /admin/users/{user_id}/permissions
      operations:
      - name: adminupdateuserpermissions
        method: PUT
        description: Grafana Admin Update User Permissions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: user_id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: admin-users-user_id-quotas-quota_target
      path: /admin/users/{user_id}/quotas/{quota_target}
      operations:
      - name: updateuserquota
        method: PUT
        description: Grafana Update User Quota
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: quota_target
          in: path
          type: string
          required: true
        - name: user_id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: annotations-annotation_id
      path: /annotations/{annotation_id}
      operations:
      - name: updateannotation
        method: PUT
        description: Grafana Update Annotation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: annotation_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: dashboards-id-DashboardID-permissions
      path: /dashboards/id/{DashboardID}/permissions
      operations:
      - name: updatedashboardpermissionsbyid
        method: POST
        description: Grafana Update Dashboard Permissions By ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: DashboardID
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: dashboards-uid-dashboardUid-public-dashboards-uid
      path: /dashboards/uid/{dashboardUid}/public-dashboards/{uid}
      operations:
      - name: updatepublicdashboard
        method: PATCH
        description: Grafana Update Public Dashboard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dashboardUid
          in: path
          type: string
          required: true
        - name: uid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: dashboards-uid-uid-permissions
      path: /dashboards/uid/{uid}/permissions
      operations:
      - name: updatedashboardpermissionsbyuid
        method: POST
        description: Grafana Update Dashboard Permissions By UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: datasources-uid-sourceUID-correlations-correlationUID
      path: /datasources/uid/{sourceUID}/correlations/{correlationUID}
      operations:
      - name: updatecorrelation
        method: PATCH
        description: Grafana Update Correlation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sourceUID
          in: path
          type: string
          required: true
        - name: correlationUID
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: datasources-uid-uid
      path: /datasources/uid/{uid}
      operations:
      - name: updatedatasourcebyuid
        method: PUT
        description: Grafana Update Data Source By UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: datasources-uid-uid-lbac-teams
      path: /datasources/uid/{uid}/lbac/teams
      operations:
      - name: updateteamlbacrulesapi
        method: PUT
        description: Grafana Update Team LBAC Rules Api
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: datasources-id
      path: /datasources/{id}
      operations:
      - name: updatedatasourcebyid
        method: PUT
        description: Grafana Update Data Source By ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: folders-folder_uid
      path: /folders/{folder_uid}
      operations:
      - name: updatefolder
        method: PUT
        description: Grafana Update Folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: folder_uid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: folders-folder_uid-permissions
      path: /folders/{folder_uid}/permissions
      operations:
      - name: updatefolderpermissions
        method: POST
        description: Grafana Update Folder Permissions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: folder_uid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: groupsync-groups-group_id
      path: /groupsync/groups/{group_id}
      operations:
      - name: updategroupmappings
        method: PUT
        description: Grafana Update Group Mappings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: group_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: library-elements-library_element_uid
      path: /library-elements/{library_element_uid}
      operations:
      - name: updatelibraryelement
        method: PATCH
        description: Grafana Update Library Element
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: library_element_uid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: org
      path: /org
      operations:
      - name: updatecurrentorg
        method: PUT
        description: Grafana Update Current Org
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: org-address
      path: /org/address
      operations:
      - name: updatecurrentorgaddress
        method: PUT
        description: Grafana Update Current Org Address
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: org-preferences
      path: /org/preferences
      operations:
      - name: updateorgpreferences
        method: PUT
        description: Grafana Update Org Preferences
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: org-users-user_id
      path: /org/users/{user_id}
      operations:
      - name: updateorguserforcurrentorg
        method: PATCH
        description: Grafana Update Org User For Current Org
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: user_id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-org_id
      path: /orgs/{org_id}
      operations:
      - name: updateorg
        method: PUT
        description: Grafana Update Org
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: org_id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-org_id-address
      path: /orgs/{org_id}/address
      operations:
      - name: updateorgaddress
        method: PUT
        description: Grafana Update Org Address
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: org_id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-org_id-quotas-quota_target
      path: /orgs/{org_id}/quotas/{quota_target}
      operations:
      - name: updateorgquota
        method: PUT
        description: Grafana Update Org Quota
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: quota_target
          in: path
          type: string
          required: true
        - name: org_id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-org_id-users-user_id
      path: /orgs/{org_id}/users/{user_id}
      operations:
      - name: updateorguser
        method: PATCH
        description: Grafana Update Org User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: org_id
          in: path
          type: integer
          required: true
        - name: user_id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: playlists-uid
      path: /playlists/{uid}
      operations:
      - name: updateplaylist
        method: PUT
        description: Grafana Update Playlist
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: recording-rules
      path: /recording-rules
      operations:
      - name: updaterecordingrule
        method: PUT
        description: Grafana Update Recording Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: reports-id
      path: /reports/{id}
      operations:
      - name: updatereport
        method: PUT
        description: Grafana Update Report
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: serviceaccounts-serviceAccountId
      path: /serviceaccounts/{serviceAccountId}
      operations:
      - name: updateserviceaccount
        method: PATCH
        description: Grafana Update Service Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: serviceAccountId
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: teams-team_id
      path: /teams/{team_id}
      operations:
      - name: updateteam
        method: PUT
        description: Grafana Update Team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: team_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: teams-team_id-members-user_id
      path: /teams/{team_id}/members/{user_id}
      operations:
      - name: updateteammember
        method: PUT
        description: Grafana Update Team Member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: team_id
          in: path
          type: string
          required: true
        - name: user_id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: teams-team_id-preferences
      path: /teams/{team_id}/preferences
      operations:
      - name: updateteampreferences
        method: PUT
        description: Grafana Update Team Preferences
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: team_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: user
      path: /user
      operations:
      - name: updatesignedinuser
        method: PUT
        description: Grafana Update Signed In User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: user-email-update
      path: /user/email/update
      operations:
      - name: updateuseremail
        method: GET
        description: Grafana Update User Email
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: user-preferences
      path: /user/preferences
      operations:
      - name: updateuserpreferences
        method: PUT
        description: Grafana Update User Preferences
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: users-user_id
      path: /users/{user_id}
      operations:
      - name: updateuser
        method: PUT
        description: Grafana Update User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: user_id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-sso-settings-key
      path: /v1/sso-settings/{key}
      operations:
      - name: updateprovidersettings
        method: PUT
        description: Grafana Update Provider Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: key
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.GRAFANA_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: grafana-update-rest
    port: 8080
    description: REST adapter for Grafana — Update. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/access-control/roles/{roleuid}
      name: access-control-roles-roleuid
      description: REST surface for access-control-roles-roleUID.
      operations:
      - method: PUT
        name: updaterole
        description: Grafana Update Role
        call: grafana-update.updaterole
        with:
          roleUID: rest.roleUID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/users/{user-id}/password
      name: admin-users-user-id-password
      description: REST surface for admin-users-user_id-password.
      operations:
      - method: PUT
        name: adminupdateuserpassword
        description: Grafana Admin Update User Password
        call: grafana-update.adminupdateuserpassword
        with:
          user_id: rest.user_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/users/{user-id}/permissions
      name: admin-users-user-id-permissions
      description: REST surface for admin-users-user_id-permissions.
      operations:
      - method: PUT
        name: adminupdateuserpermissions
        description: Grafana Admin Update User Permissions
        call: grafana-update.adminupdateuserpermissions
        with:
          user_id: rest.user_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/users/{user-id}/quotas/{quota-target}
      name: admin-users-user-id-quotas-quota-target
      description: REST surface for admin-users-user_id-quotas-quota_target.
      operations:
      - method: PUT
        name: updateuserquota
        description: Grafana Update User Quota
        call: grafana-update.updateuserquota
        with:
          quota_target: rest.quota_target
          user_id: rest.user_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/annotations/{annotation-id}
      name: annotations-annotation-id
      description: REST surface for annotations-annotation_id.
      operations:
      - method: PUT
        name: updateannotation
        description: Grafana Update Annotation
        call: grafana-update.updateannotation
        with:
          annotation_id: rest.annotation_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/id/{dashboardid}/permissions
      name: dashboards-id-dashboardid-permissions
      description: REST surface for dashboards-id-DashboardID-permissions.
      operations:
      - method: POST
        name: updatedashboardpermissionsbyid
        description: Grafana Update Dashboard Permissions By ID
        call: grafana-update.updatedashboardpermissionsbyid
        with:
          DashboardID: rest.DashboardID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/uid/{dashboarduid}/public-dashboards/{uid}
      name: dashboards-uid-dashboarduid-public-dashboards-uid
      description: REST surface for dashboards-uid-dashboardUid-public-dashboards-uid.
      operations:
      - method: PATCH
        name: updatepublicdashboard
        description: Grafana Update Public Dashboard
        call: grafana-update.updatepublicdashboard
        with:
          dashboardUid: rest.dashboardUid
          uid: rest.uid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/uid/{uid}/permissions
      name: dashboards-uid-uid-permissions
      description: REST surface for dashboards-uid-uid-permissions.
      operations:
      - method: POST
        name: updatedashboardpermissionsbyuid
        description: Grafana Update Dashboard Permissions By UID
        call: grafana-update.updatedashboardpermissionsbyuid
        with:
          uid: rest.uid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/datasources/uid/{sourceuid}/correlations/{correlationuid}
      name: datasources-uid-sourceuid-correlations-correlationuid
      description: REST surface for datasources-uid-sourceUID-correlations-correlationUID.
      operations:
      - method: PATCH
        name: updatecorrelation
        description: Grafana Update Correlation
        call: grafana-update.updatecorrelation
        with:
          sourceUID: rest.sourceUID
          correlationUID: rest.correlationUID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/datasources/uid/{uid}
      name: datasources-uid-uid
      description: REST surface for datasources-uid-uid.
      operations:
      - method: PUT
        name: updatedatasourcebyuid
        description: Grafana Update Data Source By UID
        call: grafana-update.updatedatasourcebyuid
        with:
          uid: rest.uid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/datasources/uid/{uid}/lbac/teams
      name: datasources-uid-uid-lbac-teams
      description: REST surface for datasources-uid-uid-lbac-teams.
      operations:
      - method: PUT
        name: updateteamlbacrulesapi
        description: Grafana Update Team LBAC Rules Api
        call: grafana-update.updateteamlbacrulesapi
        with:
          uid: rest.uid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/datasources/{id}
      name: datasources-id
      description: REST surface for datasources-id.
      operations:
      - method: PUT
        name: updatedatasourcebyid
        description: Grafana Update Data Source By ID
        call: grafana-update.updatedatasourcebyid
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/folders/{folder-uid}
      name: folders-folder-uid
      description: REST surface for folders-folder_uid.
      operations:
      - method: PUT
        name: updatefolder
        description: Grafana Update Folder
        call: grafana-update.updatefolder
        with:
          folder_uid: rest.folder_uid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/folders/{folder-uid}/permissions
      name: folders-folder-uid-permissions
      description: REST surface for folders-folder_uid-permissions.
      operations:
      - method: POST
        name: updatefolderpermissions
        description: Grafana Update Folder Permissions
        call: grafana-update.updatefolderpermissions
        with:
          folder_uid: rest.folder_uid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/groupsync/groups/{group-id}
      name: groupsync-groups-group-id
      description: REST surface for groupsync-groups-group_id.
      operations:
      - method: PUT
        name: updategroupmappings
        description: Grafana Update Group Mappings
        call: grafana-update.updategroupmappings
        with:
          group_id: rest.group_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/library-elements/{library-element-uid}
      name: library-elements-library-element-uid
      description: REST surface for library-elements-library_element_uid.
      operations:
      - method: PATCH
        name: updatelibraryelement
        description: Grafana Update Library Element
        call: grafana-update.updatelibraryelement
        with:
          library_element_uid: rest.library_element_uid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/org
      name: org
      description: REST surface for org.
      operations:
      - method: PUT
        name: updatecurrentorg
        description: Grafana Update Current Org
        call: grafana-update.updatecurrentorg
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/org/address
      name: org-address
      description: REST surface for org-address.
      operations:
      - method: PUT
        name: updatecurrentorgaddress
        description: Grafana Update Current Org Address
        call: grafana-update.updatecurrentorgaddress
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/org/preferences
      name: org-preferences
      description: REST surface for org-preferences.
      operations:
      - method: PUT
        name: updateorgpreferences
        description: Grafana Update Org Preferences
        call: grafana-update.updateorgpreferences
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/org/users/{user-id}
      name: org-users-user-id
      description: REST surface for org-users-user_id.
      operations:
      - method: PATCH
        name: updateorguserforcurrentorg
        description: Grafana Update Org User For Current Org
        call: grafana-update.updateorguserforcurrentorg
        with:
          user_id: rest.user_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org-id}
      name: orgs-org-id
      description: REST surface for orgs-org_id.
      operations:
      - method: PUT
        name: updateorg
        description: Grafana Update Org
        call: grafana-update.updateorg
        with:
          org_id: rest.org_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org-id}/address
      name: orgs-org-id-address
      description: REST surface for orgs-org_id-address.
      operations:
      - method: PUT
        name: updateorgaddress
        description: Grafana Update Org Address
        call: grafana-update.updateorgaddress
        with:
          org_id: rest.org_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org-id}/quotas/{quota-target}
      name: orgs-org-id-quotas-quota-target
      description: REST surface for orgs-org_id-quotas-quota_target.
      operations:
      - method: PUT
        name: updateorgquota
        description: Grafana Update Org Quota
        call: grafana-update.updateorgquota
        with:
          quota_target: rest.quota_target
          org_id: rest.org_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org-id}/users/{user-id}
      name: orgs-org-id-users-user-id
      description: REST surface for orgs-org_id-users-user_id.
      operations:
      - method: PATCH
        name: updateorguser
        description: Grafana Update Org User
        call: grafana-update.updateorguser
        with:
          org_id: rest.org_id
          user_id: rest.user_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/playlists/{uid}
      name: playlists-uid
      description: REST surface for playlists-uid.
      operations:
      - method: PUT
        name: updateplaylist
        description: Grafana Update Playlist
        call: grafana-update.updateplaylist
        with:
          uid: rest.uid
          body: rest.body
 

# --- truncated at 32 KB (49 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/grafana/refs/heads/main/capabilities/grafana-update.yaml