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

# Delete Case

> Soft-delete. Required scope `agent_eval:delete`. Existing runs are kept as history.

Soft-delete. Past runs referencing this case stay readable; they just won't appear in `GET /agent-eval/cases`. To clean up the run history, leave the case in place — runs are append-only history rows, not edits to the case.


## OpenAPI

````yaml DELETE /agent-eval/cases/{id}
openapi: 3.1.0
info:
  title: Yappr API
  description: >
    Create and manage AI voice agents, purchase phone numbers, configure tools,
    and initiate calls — all via REST.
  version: 1.0.0
  contact:
    url: https://goyappr.com
servers:
  - url: https://api.goyappr.com
    description: Production
security:
  - apiKey: []
paths:
  /agent-eval/cases/{id}:
    parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
          format: uuid
    delete:
      tags:
        - Agent Eval
      summary: Delete case
      description: >-
        Soft-delete. Required scope `agent_eval:delete`. Existing runs are kept
        as history.
      operationId: deleteCase
      responses:
        '200':
          description: Case deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  id:
                    type: string
                    format: uuid
        '404':
          description: Not found
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard
        under **Settings → API Keys**.

````