---
title: "Delete a test case"
method: DELETE
path: "/v4/test-cases/{id}"
tags: ["TestCases"]
---

# Delete a test case

`DELETE /v4/test-cases/{id}`

Delete a test case by ID

## Path parameters

- `id` string, uuid, required — Test Case UUID

## Response `204`

Successful response

## Other responses

- `400` — Client provided an invalid request for the test case. Please check the request format and parameters.
- `401` — No valid API key provided.
- `404` — The test case resource does not exist.
- `500` — Something went wrong on Gentrace's end.

## Changes

- **2025-04-28** `76bde656b16e` — 1 breaking, 3 info
  - removed the success response with the status `200`
  - api tag `TestCases` added
  - api tag `Test Cases` removed
  - added the success response with the status `204`
- **2025-04-22** `610091298e37` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/gentrace/apis/gentrace-api/changes/v4/test-cases/:id/delete.md)

---

[API](https://skmtc.dev/gentrace/apis/gentrace-api.md) · [All operations](https://skmtc.dev/gentrace/apis/gentrace-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gentrace/gentrace-api/revisions/938ac0c5af7b/schema)
