Grafana · Capability

Grafana — Delete

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

Run with Naftiko GrafanaDelete

What You Can Do

DELETE
Deleterole — Grafana Delete Role
/v1/access-control/roles/{roleuid}
DELETE
Admindeleteuser — Grafana Admin Delete User
/v1/admin/users/{user-id}
POST
Massdeleteannotations — Grafana Mass Delete Annotations
/v1/annotations/mass-delete
DELETE
Deleteannotationbyid — Grafana Delete Annotation By ID
/v1/annotations/{annotation-id}
DELETE
Deletesession — Grafana Delete Session
/v1/cloudmigration/migration/{uid}
DELETE
Deletecloudmigrationtoken — Grafana Delete Cloud Migration Token
/v1/cloudmigration/token/{uid}
DELETE
Routeconvertprometheuscortexdeletenamespace — Grafana Route Convert Prometheus Cortex Delete Namespace
/v1/convert/api/prom/rules/{namespacetitle}
DELETE
Routeconvertprometheuscortexdeleterulegroup — Grafana Route Convert Prometheus Cortex Delete Rule Group
/v1/convert/api/prom/rules/{namespacetitle}/{group}
DELETE
Routeconvertprometheusdeletenamespace — Grafana Route Convert Prometheus Delete Namespace
/v1/convert/prometheus/config/v1/rules/{namespacetitle}
DELETE
Routeconvertprometheusdeleterulegroup — Grafana Route Convert Prometheus Delete Rule Group
/v1/convert/prometheus/config/v1/rules/{namespacetitle}/{group}
DELETE
Deletepublicdashboard — Grafana Delete Public Dashboard
/v1/dashboards/uid/{dashboarduid}/public-dashboards/{uid}
DELETE
Deletedashboardbyuid — Grafana Delete Dashboard By UID
/v1/dashboards/uid/{uid}
DELETE
Deletedatasourcebyname — Grafana Delete Data Source By Name
/v1/datasources/name/{name}
DELETE
Datasourceproxydeletebyuidcalls — Grafana Datasource Proxy DELETE By UID Calls
/v1/datasources/proxy/uid/{uid}/{datasource-proxy-route}
DELETE
Deletedatasourcebyuid — Grafana Delete Data Source By UID
/v1/datasources/uid/{uid}
DELETE
Deletecorrelation — Grafana Delete Correlation
/v1/datasources/uid/{uid}/correlations/{correlationuid}
DELETE
Deletedatasourcebyid — Grafana Delete Data Source By ID
/v1/datasources/{id}
DELETE
Deletefolder — Grafana Delete Folder
/v1/folders/{folder-uid}
DELETE
Deletegroupmappings — Grafana Delete Group Mappings
/v1/groupsync/groups/{group-id}
DELETE
Deletelibraryelementbyuid — Grafana Delete Library Element By UID
/v1/library-elements/{library-element-uid}
DELETE
Deletelicensetoken — Grafana Delete License Token
/v1/licensing/token
DELETE
Deleteorgbyid — Grafana Delete Org By ID
/v1/orgs/{org-id}
DELETE
Deleteplaylist — Grafana Delete Playlist
/v1/playlists/{uid}
DELETE
Deletequery — Grafana Delete Query
/v1/query-history/{query-history-uid}
DELETE
Deleterecordingrulewritetarget — Grafana Delete Recording Rule Write Target
/v1/recording-rules/writer
DELETE
Deleterecordingrule — Grafana Delete Recording Rule
/v1/recording-rules/{recordingruleid}
DELETE
Deletereport — Grafana Delete Report
/v1/reports/{id}
DELETE
Deleteserviceaccount — Grafana Delete Service Account
/v1/serviceaccounts/{serviceaccountid}
DELETE
Deletetoken — Grafana Delete Token
/v1/serviceaccounts/{serviceaccountid}/tokens/{tokenid}
GET
Deletedashboardsnapshotbydeletekey — Grafana Delete Dashboard Snapshot By Delete Key
/v1/snapshots-delete/{deletekey}
DELETE
Deletedashboardsnapshot — Grafana Delete Dashboard Snapshot
/v1/snapshots/{key}
DELETE
Deleteteambyid — Grafana Delete Team By ID
/v1/teams/{team-id}
DELETE
Routedeletealertrule — Grafana Route Delete Alert Rule
/v1/v1/provisioning/alert-rules/{uid}
DELETE
Routedeletecontactpoints — Grafana Route Delete Contactpoints
/v1/v1/provisioning/contact-points/{uid}
DELETE
Routedeletealertrulegroup — Grafana Route Delete Alert Rule Group
/v1/v1/provisioning/folder/{folderuid}/rule-groups/{group}
DELETE
Routedeletemutetiming — Grafana Route Delete Mute Timing
/v1/v1/provisioning/mute-timings/{name}
DELETE
Routedeletetemplate — Grafana Route Delete Template
/v1/v1/provisioning/templates/{name}

MCP Tools

grafana-delete-role

Grafana Delete Role

idempotent
grafana-admin-delete-user

Grafana Admin Delete User

idempotent
grafana-mass-delete-annotations

Grafana Mass Delete Annotations

grafana-delete-annotation-id

Grafana Delete Annotation By ID

idempotent
grafana-delete-session

Grafana Delete Session

idempotent
grafana-delete-cloud-migration-token

Grafana Delete Cloud Migration Token

idempotent
grafana-route-convert-prometheus-cortex

Grafana Route Convert Prometheus Cortex Delete Namespace

idempotent
grafana-route-convert-prometheus-cortex-2

Grafana Route Convert Prometheus Cortex Delete Rule Group

idempotent
grafana-route-convert-prometheus-delete

Grafana Route Convert Prometheus Delete Namespace

idempotent
grafana-route-convert-prometheus-delete-2

Grafana Route Convert Prometheus Delete Rule Group

idempotent
grafana-delete-public-dashboard

Grafana Delete Public Dashboard

idempotent
grafana-delete-dashboard-uid

Grafana Delete Dashboard By UID

idempotent
grafana-delete-data-source-name

Grafana Delete Data Source By Name

idempotent
grafana-datasource-proxy-delete-uid

Grafana Datasource Proxy DELETE By UID Calls

idempotent
grafana-delete-data-source-uid

Grafana Delete Data Source By UID

idempotent
grafana-delete-correlation

Grafana Delete Correlation

idempotent
grafana-delete-data-source-id

Grafana Delete Data Source By ID

idempotent
grafana-delete-folder

Grafana Delete Folder

idempotent
grafana-delete-group-mappings

Grafana Delete Group Mappings

idempotent
grafana-delete-library-element-uid

Grafana Delete Library Element By UID

idempotent
grafana-delete-license-token

Grafana Delete License Token

idempotent
grafana-delete-org-id

Grafana Delete Org By ID

idempotent
grafana-delete-playlist

Grafana Delete Playlist

idempotent
grafana-delete-query

Grafana Delete Query

idempotent
grafana-delete-recording-rule-write

Grafana Delete Recording Rule Write Target

idempotent
grafana-delete-recording-rule

Grafana Delete Recording Rule

idempotent
grafana-delete-report

Grafana Delete Report

idempotent
grafana-delete-service-account

Grafana Delete Service Account

idempotent
grafana-delete-token

Grafana Delete Token

idempotent
grafana-delete-dashboard-snapshot-delete

Grafana Delete Dashboard Snapshot By Delete Key

read-only idempotent
grafana-delete-dashboard-snapshot

Grafana Delete Dashboard Snapshot

idempotent
grafana-delete-team-id

Grafana Delete Team By ID

idempotent
grafana-route-delete-alert-rule

Grafana Route Delete Alert Rule

idempotent
grafana-route-delete-contactpoints

Grafana Route Delete Contactpoints

idempotent
grafana-route-delete-alert-rule-2

Grafana Route Delete Alert Rule Group

idempotent
grafana-route-delete-mute-timing

Grafana Route Delete Mute Timing

idempotent
grafana-route-delete-template

Grafana Route Delete Template

idempotent

Capability Spec

grafana-delete.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Grafana — Delete
  description: 'Grafana — Delete. 37 operations. Lead operation: Grafana Delete Role. Self-contained Naftiko capability covering
    one Grafana business surface.'
  tags:
  - Grafana
  - Delete
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRAFANA_API_KEY: GRAFANA_API_KEY
capability:
  consumes:
  - type: http
    namespace: grafana-delete
    baseUri: http://{defaultHost}
    description: Grafana — Delete business capability. Self-contained, no shared references.
    resources:
    - name: access-control-roles-roleUID
      path: /access-control/roles/{roleUID}
      operations:
      - name: deleterole
        method: DELETE
        description: Grafana Delete Role
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: force
          in: query
          type: boolean
        - name: global
          in: query
          type: boolean
        - name: roleUID
          in: path
          type: string
          required: true
    - name: admin-users-user_id
      path: /admin/users/{user_id}
      operations:
      - name: admindeleteuser
        method: DELETE
        description: Grafana Admin Delete User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: user_id
          in: path
          type: integer
          required: true
    - name: annotations-mass-delete
      path: /annotations/mass-delete
      operations:
      - name: massdeleteannotations
        method: POST
        description: Grafana Mass Delete Annotations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: annotations-annotation_id
      path: /annotations/{annotation_id}
      operations:
      - name: deleteannotationbyid
        method: DELETE
        description: Grafana Delete Annotation By ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: annotation_id
          in: path
          type: string
          required: true
    - name: cloudmigration-migration-uid
      path: /cloudmigration/migration/{uid}
      operations:
      - name: deletesession
        method: DELETE
        description: Grafana Delete Session
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          description: UID of a migration session
          required: true
    - name: cloudmigration-token-uid
      path: /cloudmigration/token/{uid}
      operations:
      - name: deletecloudmigrationtoken
        method: DELETE
        description: Grafana Delete Cloud Migration Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          description: UID of a cloud migration token
          required: true
    - name: convert-api-prom-rules-NamespaceTitle
      path: /convert/api/prom/rules/{NamespaceTitle}
      operations:
      - name: routeconvertprometheuscortexdeletenamespace
        method: DELETE
        description: Grafana Route Convert Prometheus Cortex Delete Namespace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: NamespaceTitle
          in: path
          type: string
          required: true
    - name: convert-api-prom-rules-NamespaceTitle-Group
      path: /convert/api/prom/rules/{NamespaceTitle}/{Group}
      operations:
      - name: routeconvertprometheuscortexdeleterulegroup
        method: DELETE
        description: Grafana Route Convert Prometheus Cortex Delete Rule Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: NamespaceTitle
          in: path
          type: string
          required: true
        - name: Group
          in: path
          type: string
          required: true
    - name: convert-prometheus-config-v1-rules-NamespaceTitle
      path: /convert/prometheus/config/v1/rules/{NamespaceTitle}
      operations:
      - name: routeconvertprometheusdeletenamespace
        method: DELETE
        description: Grafana Route Convert Prometheus Delete Namespace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: NamespaceTitle
          in: path
          type: string
          required: true
    - name: convert-prometheus-config-v1-rules-NamespaceTitle-Group
      path: /convert/prometheus/config/v1/rules/{NamespaceTitle}/{Group}
      operations:
      - name: routeconvertprometheusdeleterulegroup
        method: DELETE
        description: Grafana Route Convert Prometheus Delete Rule Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: NamespaceTitle
          in: path
          type: string
          required: true
        - name: Group
          in: path
          type: string
          required: true
    - name: dashboards-uid-dashboardUid-public-dashboards-uid
      path: /dashboards/uid/{dashboardUid}/public-dashboards/{uid}
      operations:
      - name: deletepublicdashboard
        method: DELETE
        description: Grafana Delete 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: dashboards-uid-uid
      path: /dashboards/uid/{uid}
      operations:
      - name: deletedashboardbyuid
        method: DELETE
        description: Grafana Delete Dashboard By UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
    - name: datasources-name-name
      path: /datasources/name/{name}
      operations:
      - name: deletedatasourcebyname
        method: DELETE
        description: Grafana Delete Data Source By Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
    - name: datasources-proxy-uid-uid-datasource_proxy_route
      path: /datasources/proxy/uid/{uid}/{datasource_proxy_route}
      operations:
      - name: datasourceproxydeletebyuidcalls
        method: DELETE
        description: Grafana Datasource Proxy DELETE By UID Calls
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
        - name: datasource_proxy_route
          in: path
          type: string
          required: true
    - name: datasources-uid-uid
      path: /datasources/uid/{uid}
      operations:
      - name: deletedatasourcebyuid
        method: DELETE
        description: Grafana Delete Data Source By UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
    - name: datasources-uid-uid-correlations-correlationUID
      path: /datasources/uid/{uid}/correlations/{correlationUID}
      operations:
      - name: deletecorrelation
        method: DELETE
        description: Grafana Delete Correlation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
        - name: correlationUID
          in: path
          type: string
          required: true
    - name: datasources-id
      path: /datasources/{id}
      operations:
      - name: deletedatasourcebyid
        method: DELETE
        description: Grafana Delete Data Source By ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
    - name: folders-folder_uid
      path: /folders/{folder_uid}
      operations:
      - name: deletefolder
        method: DELETE
        description: Grafana Delete Folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: folder_uid
          in: path
          type: string
          required: true
        - name: forceDeleteRules
          in: query
          type: boolean
          description: If `true` any Grafana 8 Alerts under this folder will be deleted.
    - name: groupsync-groups-group_id
      path: /groupsync/groups/{group_id}
      operations:
      - name: deletegroupmappings
        method: DELETE
        description: Grafana Delete Group Mappings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: group_id
          in: path
          type: string
          required: true
    - name: library-elements-library_element_uid
      path: /library-elements/{library_element_uid}
      operations:
      - name: deletelibraryelementbyuid
        method: DELETE
        description: Grafana Delete Library Element By UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: library_element_uid
          in: path
          type: string
          required: true
    - name: licensing-token
      path: /licensing/token
      operations:
      - name: deletelicensetoken
        method: DELETE
        description: Grafana Delete License Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-org_id
      path: /orgs/{org_id}
      operations:
      - name: deleteorgbyid
        method: DELETE
        description: Grafana Delete Org By ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: org_id
          in: path
          type: integer
          required: true
    - name: playlists-uid
      path: /playlists/{uid}
      operations:
      - name: deleteplaylist
        method: DELETE
        description: Grafana Delete Playlist
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
    - name: query-history-query_history_uid
      path: /query-history/{query_history_uid}
      operations:
      - name: deletequery
        method: DELETE
        description: Grafana Delete Query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query_history_uid
          in: path
          type: string
          required: true
    - name: recording-rules-writer
      path: /recording-rules/writer
      operations:
      - name: deleterecordingrulewritetarget
        method: DELETE
        description: Grafana Delete Recording Rule Write Target
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: recording-rules-recordingRuleID
      path: /recording-rules/{recordingRuleID}
      operations:
      - name: deleterecordingrule
        method: DELETE
        description: Grafana Delete Recording Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: recordingRuleID
          in: path
          type: integer
          required: true
    - name: reports-id
      path: /reports/{id}
      operations:
      - name: deletereport
        method: DELETE
        description: Grafana Delete Report
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
    - name: serviceaccounts-serviceAccountId
      path: /serviceaccounts/{serviceAccountId}
      operations:
      - name: deleteserviceaccount
        method: DELETE
        description: Grafana Delete Service Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: serviceAccountId
          in: path
          type: integer
          required: true
    - name: serviceaccounts-serviceAccountId-tokens-tokenId
      path: /serviceaccounts/{serviceAccountId}/tokens/{tokenId}
      operations:
      - name: deletetoken
        method: DELETE
        description: Grafana Delete Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tokenId
          in: path
          type: integer
          required: true
        - name: serviceAccountId
          in: path
          type: integer
          required: true
    - name: snapshots-delete-deleteKey
      path: /snapshots-delete/{deleteKey}
      operations:
      - name: deletedashboardsnapshotbydeletekey
        method: GET
        description: Grafana Delete Dashboard Snapshot By Delete Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: deleteKey
          in: path
          type: string
          required: true
    - name: snapshots-key
      path: /snapshots/{key}
      operations:
      - name: deletedashboardsnapshot
        method: DELETE
        description: Grafana Delete Dashboard Snapshot
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: key
          in: path
          type: string
          required: true
    - name: teams-team_id
      path: /teams/{team_id}
      operations:
      - name: deleteteambyid
        method: DELETE
        description: Grafana Delete Team By ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: team_id
          in: path
          type: string
          required: true
    - name: v1-provisioning-alert-rules-UID
      path: /v1/provisioning/alert-rules/{UID}
      operations:
      - name: routedeletealertrule
        method: DELETE
        description: Grafana Route Delete Alert Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: UID
          in: path
          type: string
          description: Alert rule UID
          required: true
        - name: X-Disable-Provenance
          in: header
          type: string
    - name: v1-provisioning-contact-points-UID
      path: /v1/provisioning/contact-points/{UID}
      operations:
      - name: routedeletecontactpoints
        method: DELETE
        description: Grafana Route Delete Contactpoints
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: UID
          in: path
          type: string
          description: UID is the contact point unique identifier
          required: true
        - name: Content-Type
          in: header
          type: string
          required: true
    - name: v1-provisioning-folder-FolderUID-rule-groups-Group
      path: /v1/provisioning/folder/{FolderUID}/rule-groups/{Group}
      operations:
      - name: routedeletealertrulegroup
        method: DELETE
        description: Grafana Route Delete Alert Rule Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FolderUID
          in: path
          type: string
          required: true
        - name: Group
          in: path
          type: string
          required: true
    - name: v1-provisioning-mute-timings-name
      path: /v1/provisioning/mute-timings/{name}
      operations:
      - name: routedeletemutetiming
        method: DELETE
        description: Grafana Route Delete Mute Timing
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: Mute timing name
          required: true
        - name: version
          in: query
          type: string
          description: Version of mute timing to use for optimistic concurrency. Leave empty to disable validation
        - name: X-Disable-Provenance
          in: header
          type: string
    - name: v1-provisioning-templates-name
      path: /v1/provisioning/templates/{name}
      operations:
      - name: routedeletetemplate
        method: DELETE
        description: Grafana Route Delete Template
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: Template group name
          required: true
        - name: version
          in: query
          type: string
          description: Version of template to use for optimistic concurrency. Leave empty to disable validation
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.GRAFANA_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: grafana-delete-rest
    port: 8080
    description: REST adapter for Grafana — Delete. 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: DELETE
        name: deleterole
        description: Grafana Delete Role
        call: grafana-delete.deleterole
        with:
          force: rest.force
          global: rest.global
          roleUID: rest.roleUID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/users/{user-id}
      name: admin-users-user-id
      description: REST surface for admin-users-user_id.
      operations:
      - method: DELETE
        name: admindeleteuser
        description: Grafana Admin Delete User
        call: grafana-delete.admindeleteuser
        with:
          user_id: rest.user_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/annotations/mass-delete
      name: annotations-mass-delete
      description: REST surface for annotations-mass-delete.
      operations:
      - method: POST
        name: massdeleteannotations
        description: Grafana Mass Delete Annotations
        call: grafana-delete.massdeleteannotations
        with:
          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: DELETE
        name: deleteannotationbyid
        description: Grafana Delete Annotation By ID
        call: grafana-delete.deleteannotationbyid
        with:
          annotation_id: rest.annotation_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/cloudmigration/migration/{uid}
      name: cloudmigration-migration-uid
      description: REST surface for cloudmigration-migration-uid.
      operations:
      - method: DELETE
        name: deletesession
        description: Grafana Delete Session
        call: grafana-delete.deletesession
        with:
          uid: rest.uid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/cloudmigration/token/{uid}
      name: cloudmigration-token-uid
      description: REST surface for cloudmigration-token-uid.
      operations:
      - method: DELETE
        name: deletecloudmigrationtoken
        description: Grafana Delete Cloud Migration Token
        call: grafana-delete.deletecloudmigrationtoken
        with:
          uid: rest.uid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/convert/api/prom/rules/{namespacetitle}
      name: convert-api-prom-rules-namespacetitle
      description: REST surface for convert-api-prom-rules-NamespaceTitle.
      operations:
      - method: DELETE
        name: routeconvertprometheuscortexdeletenamespace
        description: Grafana Route Convert Prometheus Cortex Delete Namespace
        call: grafana-delete.routeconvertprometheuscortexdeletenamespace
        with:
          NamespaceTitle: rest.NamespaceTitle
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/convert/api/prom/rules/{namespacetitle}/{group}
      name: convert-api-prom-rules-namespacetitle-group
      description: REST surface for convert-api-prom-rules-NamespaceTitle-Group.
      operations:
      - method: DELETE
        name: routeconvertprometheuscortexdeleterulegroup
        description: Grafana Route Convert Prometheus Cortex Delete Rule Group
        call: grafana-delete.routeconvertprometheuscortexdeleterulegroup
        with:
          NamespaceTitle: rest.NamespaceTitle
          Group: rest.Group
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/convert/prometheus/config/v1/rules/{namespacetitle}
      name: convert-prometheus-config-v1-rules-namespacetitle
      description: REST surface for convert-prometheus-config-v1-rules-NamespaceTitle.
      operations:
      - method: DELETE
        name: routeconvertprometheusdeletenamespace
        description: Grafana Route Convert Prometheus Delete Namespace
        call: grafana-delete.routeconvertprometheusdeletenamespace
        with:
          NamespaceTitle: rest.NamespaceTitle
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/convert/prometheus/config/v1/rules/{namespacetitle}/{group}
      name: convert-prometheus-config-v1-rules-namespacetitle-group
      description: REST surface for convert-prometheus-config-v1-rules-NamespaceTitle-Group.
      operations:
      - method: DELETE
        name: routeconvertprometheusdeleterulegroup
        description: Grafana Route Convert Prometheus Delete Rule Group
        call: grafana-delete.routeconvertprometheusdeleterulegroup
        with:
          NamespaceTitle: rest.NamespaceTitle
          Group: rest.Group
        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: DELETE
        name: deletepublicdashboard
        description: Grafana Delete Public Dashboard
        call: grafana-delete.deletepublicdashboard
        with:
          dashboardUid: rest.dashboardUid
          uid: rest.uid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/uid/{uid}
      name: dashboards-uid-uid
      description: REST surface for dashboards-uid-uid.
      operations:
      - method: DELETE
        name: deletedashboardbyuid
        description: Grafana Delete Dashboard By UID
        call: grafana-delete.deletedashboardbyuid
        with:
          uid: rest.uid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/datasources/name/{name}
      name: datasources-name-name
      description: REST surface for datasources-name-name.
      operations:
      - method: DELETE
        name: deletedatasourcebyname
        description: Grafana Delete Data Source By Name
        call: grafana-delete.deletedatasourcebyname
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/datasources/proxy/uid/{uid}/{datasource-proxy-route}
      name: datasources-proxy-uid-uid-datasource-proxy-route
      description: REST surface for datasources-proxy-uid-uid-datasource_proxy_route.
      operations:
      - method: DELETE
        name: datasourceproxydeletebyuidcalls
        description: Grafana Datasource Proxy DELETE By UID Calls
        call: grafana-delete.datasourceproxydeletebyuidcalls
        with:
          uid: rest.uid
          datasource_proxy_route: rest.datasource_proxy_route
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/datasources/uid/{uid}
      name: datasources-uid-uid
      description: REST surface for datasources-uid-uid.
      operations:
      - method: DELETE
        name: deletedatasourcebyuid
        description: Grafana Delete Data Source By UID
        call: grafana-delete.deletedatasourcebyuid
        with:
          uid: rest.uid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/datasources/uid/{uid}/correlations/{correlationuid}
      name: datasources-uid-uid-correlations-correlationuid
      description: REST surface for datasources-uid-uid-correlations-correlationUID.
      operations:
      - method: DELETE
        name: deletecorrelation
        description: Grafana Delete Correlation
        call: grafana-delete.deletecorrelation
        with:
          uid: rest.uid
          correlationUID: rest.correlationUID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/datasources/{id}
      name: datasources-id
      description: REST surface for datasources-id.
      operations:
      - method: DELETE
        name: deletedatasourcebyid
        description: Grafana Delete Data Source By ID
        call: grafana-delete.deletedatasourcebyid
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/folders/{folder-uid}
      name: folders-folder-uid
      description: REST surface for folders-folder_uid.
      operations:
      - method: DELETE
        name: deletefolder
        description: Grafana Delete Folder
        call: grafana-delete.deletefolder
        with:
          folder_uid: rest.folder_uid
          forceDeleteRules: rest.forceDeleteRules
        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: DELETE
        name: deletegroupmappings
        description: Grafana Delete Group Mappings
        call: grafana-delete.deletegroupmappings
        with:
          group_id: rest.group_id
        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: DELETE
        name: deletelibraryelementbyuid
        description: Grafana Delete Library Element By UID
        call: grafana-delete.deletelibraryelementbyuid
        with:
          library_element_uid: rest.library_element_uid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/licensing/token
      name: licensing-token
      description: REST surface for licensing-token.
      operations:
      - method: DELETE
        name: deletelicensetoken
        description: Grafana Delete License Token
        call: grafana-delete.deletelicensetoken
        with:
          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: DELETE
        name: deleteorgbyid
        description: Grafana Delete Org By ID
        call: grafana-delete.deleteorgbyid
        with:
          org_id: rest.org_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/playlists/{uid}
      name: playlists-uid
      description: REST surface for playlists-uid.
      operations:
      - method: DELETE
        name: deleteplaylist
        description: Grafana Delete Playlist
        call: grafana-delete.deleteplaylist
        with:
          uid: rest.uid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/query-history/{query-history-uid}
      name: query-history-query-history-uid
      description: REST surface for query-history-query_history_uid.
      operations:
      - method: DELETE
        name: deletequery
        description: Grafana Delete Query
        call: grafana-delete.deletequery
        with:
          query_history_uid: rest.query_history_uid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/recording-rules/writer
      name: recording-rules-writer
      description: REST surface for recording-rules-writer.
      operations:
      - method: DELETE
        name: deleterecordingrulewritetarget
        description: Grafana Delete Recording Rule Write Target
        call: grafana-delete.deleterecordingrulewritetarget
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/recording-rules/{recordingruleid}
      name: recording-rules-recordingruleid
      description: REST surface for recording-rules-recordingRuleID.
      operations:
      - method: DELETE
        name: deleterecordingrule
        description: Grafana Delete Recording Rule
        call: grafana-delete.deleterecordingrule
        with:
          recordingRuleID: rest.recordingRuleID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/reports/{id}
      name: reports-id
      description: REST surface for reports-id.
      operations:
      - method: DELETE
        name: deletereport
        description: Grafana Delete Report
        call: grafana-delete.deletereport
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/serviceaccounts/{serviceaccountid}
      name: serviceaccounts-serviceaccountid
      description: REST surface for serviceaccounts-serviceAccountId.
      operations:
      - method: DELETE
        name: deleteserviceaccount
        description: Grafana Delete Service Account
        call: grafana-delete.deleteserviceaccount
        with:
          serviceAccountId: rest.serviceAccountId
        outputParameters:
        - type: object


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