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

# Remove Chart from Dashboard

> Removes one chart from a dashboard's layout — the v2 replacement for POST /v1/api/dashboard/remove-charts (call once per chart). Authenticate with an Upsolve API key or a project-user token (from /v1/api/projects/user-token, or /v1/api/tenant/register-tenant after migration).



## OpenAPI

````yaml delete /v2/api/applications/{applicationId}/dashboards/{dashboardId}/charts/{chartId}
openapi: 3.1.0
info:
  title: Upsolve API
  version: 1.4.2
servers:
  - url: https://api.upsolve.ai
security: []
tags: []
paths:
  /v2/api/applications/{applicationId}/dashboards/{dashboardId}/charts/{chartId}:
    delete:
      summary: Remove a chart from a dashboard
      description: >-
        Removes one chart from a dashboard's layout — the v2 replacement for
        POST /v1/api/dashboard/remove-charts (call once per chart). Authenticate
        with an Upsolve API key or a project-user token (from
        /v1/api/projects/user-token, or /v1/api/tenant/register-tenant after
        migration).
      operationId: DeleteV2ApiApplicationsApplicationIdDashboardsDashboardIdChartsChartId
      parameters:
        - name: apiKey
          in: query
          required: false
          description: >-
            Upsolve API key, generated under Account → Developer settings in the
            Upsolve Hub. Keys are user-scoped: pass organizationId alongside the
            key to select which org to act on.
          schema:
            description: >-
              Upsolve API key, generated under Account → Developer settings in
              the Upsolve Hub. Keys are user-scoped: pass organizationId
              alongside the key to select which org to act on.
            type: string
            minLength: 1
        - name: organizationId
          in: query
          required: false
          description: >-
            The ID of the organization. Required when using Supabase JWT
            authentication.
          schema:
            type: string
            description: >-
              The ID of the organization. Required when using Supabase JWT
              authentication.
        - name: connectionId
          in: query
          required: false
          description: The ID of the connection a guest has access to
          schema:
            type: string
            description: The ID of the connection a guest has access to
        - name: applicationId
          in: path
          required: true
          description: >-
            ID of the application. List them with GET /v2/api/applications.
            After a v1 migration, each v1 workspace became one application —
            `legacyWorkspaceId` on the list says which.
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
            description: >-
              ID of the application. List them with GET /v2/api/applications.
              After a v1 migration, each v1 workspace became one application —
              `legacyWorkspaceId` on the list says which.
        - name: dashboardId
          in: path
          required: true
          description: ID of the dashboard to remove the chart from
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
            description: ID of the dashboard to remove the chart from
        - name: chartId
          in: path
          required: true
          description: >-
            ID of the chart on the dashboard (a key of the dashboard's charts,
            e.g. an ID returned by the add-charts endpoint)
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
            description: >-
              ID of the chart on the dashboard (a key of the dashboard's charts,
              e.g. an ID returned by the add-charts endpoint)
      responses:
        '200':
          description: >-
            DELETE
            /v2/api/applications/:applicationId/dashboards/:dashboardId/charts/:chartId
            Positive response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: success
                  data:
                    type: object
                    properties:
                      dashboardId:
                        type: string
                        description: ID of the updated dashboard
                      removedChartId:
                        type: string
                        description: ID of the chart that was removed
                    required:
                      - dashboardId
                      - removedChartId
                    additionalProperties: false
                required:
                  - status
                  - data
                additionalProperties: false
        '400':
          description: >-
            DELETE
            /v2/api/applications/:applicationId/dashboards/:dashboardId/charts/:chartId
            Negative response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: error
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      code:
                        type: string
                      details:
                        type: object
                        propertyNames:
                          type: string
                        additionalProperties: {}
                    required:
                      - message
                    additionalProperties: false
                required:
                  - status
                  - error
                additionalProperties: false
      security:
        - APIKEY_2: []
components:
  securitySchemes:
    APIKEY_2:
      type: apiKey
      in: header
      name: authorization

````