> ## Documentation Index
> Fetch the complete documentation index at: https://docs-xcor.paloaltonetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DeleteGrafanaDashboard

> [!WARNING]
>
> Classic dashboards reach end of life on January 20, 2027. After this date,
> classic dashboards are no longer supported. [Migrate classic dashboards to
> standard dashboards](https://docs-xcor.paloaltonetworks.com/observe/dashboards/classic-dashboards/migrate-to-standard.md)
> to avoid disruption.

> [!WARNING]
>
> Classic dashboard API endpoints are not available for organizations on standard
> dashboards. Requests to these endpoints return an error. To manage dashboards
> programmatically in these environments, use the
> [standard dashboard](https://docs-xcor.paloaltonetworks.com/observe/dashboards) endpoints. For information
> about your organization's dashboard configuration, contact
> [Cortex XCOR Support](https://docs-xcor.paloaltonetworks.com/support.md).


## OpenAPI

````yaml openapi/api_v1_config_openapi3_DOCUMENTATION_ONLY.json DELETE /api/v1/config/grafana-dashboards/{slug}
openapi: 3.0.3
info:
  description: >

    The Config API provides standard HTTP/JSON REST endpoints for creating,
    reading,

    updating, deleting, and listing configurable Chronosphere resources.


    Use this link to download the raw Swagger specification:

    <a href="/api/v1/config/swagger.json">/api/v1/config/swagger.json</a>
  title: Config V1 API
  version: v1
servers:
  - url: https://{tenant}.chronosphere.io
    variables:
      tenant:
        default: tenant
        description: tenant ID assigned by the service provider
security:
  - ApiKeyAuth: []
tags:
  - name: ConfigV1
paths:
  /api/v1/config/grafana-dashboards/{slug}:
    delete:
      tags:
        - GrafanaDashboard
      operationId: DeleteGrafanaDashboard
      parameters:
        - in: path
          name: slug
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/configv1DeleteGrafanaDashboardResponse'
          description: A successful response.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
          description: Cannot delete the GrafanaDashboard because it is in use.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
          description: Cannot delete the GrafanaDashboard because the slug does not exist.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
          description: An unexpected error response.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/genericError'
          description: An undefined error response.
components:
  schemas:
    configv1DeleteGrafanaDashboardResponse:
      type: object
    apiError:
      properties:
        message:
          description: An error message describing what went wrong.
          type: string
      type: object
    genericError:
      additionalProperties: true
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: Chronosphere API token
      in: header
      name: API-Token
      type: apiKey

````

## Related topics

- [DeleteClassicDashboard](https://docs-xcor.paloaltonetworks.com/tooling/api-info/definition/operations/DeleteClassicDashboard.md)
- [Import Grafana dashboards](https://docs-xcor.paloaltonetworks.com/observe/dashboards/classic-dashboards/grafana-import.md)
- [DeleteDashboard](https://docs-xcor.paloaltonetworks.com/tooling/api-info/definition/operations/DeleteDashboard.md)
- [DeleteBucket](https://docs-xcor.paloaltonetworks.com/tooling/api-info/definition/operations/DeleteBucket.md)
- [CreateGrafanaDashboard](https://docs-xcor.paloaltonetworks.com/tooling/api-info/definition/operations/CreateGrafanaDashboard.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.