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

# Delete Scorecard

> Soft-delete the active scorecard for a table sheet.

Soft-delete the active scorecard for a sheet.

Deleting a scorecard does not delete legacy score configuration on the same sheet.


## OpenAPI

````yaml DELETE /api/public/v2/tables/{table_id}/sheets/{sheet_id}/scorecard
openapi: 3.1.0
info:
  title: PromptLayer API
  description: >-
    REST API for PromptLayer: prompt template management, request logging,
    observability, evaluations, and workflows.
  version: 1.0.0
servers: []
security:
  - ApiKeyAuth: []
paths:
  /api/public/v2/tables/{table_id}/sheets/{sheet_id}/scorecard:
    delete:
      tags:
        - tables
      summary: Delete Table Sheet Scorecard
      description: Soft-delete the active scorecard for a table sheet.
      operationId: deleteTableSheetScorecard
      parameters:
        - name: X-API-KEY
          in: header
          required: true
          schema:
            type: string
          description: >-
            Your PromptLayer API key. The key's workspace scopes table resources
            for this request.
        - name: table_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Table ID.
        - name: sheet_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Table sheet ID.
      responses:
        '200':
          description: Scorecard deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteTableSheetScorecardResponse'
        '400':
          description: Invalid workspace context.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Table or sheet not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    DeleteTableSheetScorecardResponse:
      type: object
      required:
        - success
      properties:
        success:
          type: boolean
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          default: false
          description: Indicates that the request failed.
        message:
          type: string
          description: Human-readable error message.
        error:
          type: string
          description: Machine-readable or fallback error message.
      additionalProperties: true
      description: >-
        Standard error response. Some legacy endpoints may return either message
        or error.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````