---
search:
  tags:
    - V1
    - DELETE
seo:
  description: >-
    Remove a case from the draft;… Reference for the DELETE
    /v1/projects/{projectId}/test-suites/{testSuiteId}/cases/{caseId} endpoint
    in the Judgeval API.
sidebar:
  label: Remove a case from the draft
  badge: DELETE
title: Remove a case from the draft
type: openapi-operation
---
Remove a case from the draft; published versions keep it. For a published case, call create_test_suite_draft first.

`DELETE /v1/projects/{projectId}/test-suites/{testSuiteId}/cases/{caseId}`

**Responses**

- `200` — Response for status 200
- `404` — Response for status 404
- `409` — Response for status 409
- `422` — Response for status 422

Response example, 200:

```json
{
  "case_id": "string"
}
```
