---
title: "Delete a test case"
method: DELETE
path: "/v1/test-cases/{test_case_id}"
tags: ["test-cases"]
---

# Delete a test case

`DELETE /v1/test-cases/{test_case_id}`

Soft-delete a test case by setting deleted_at timestamp.

## Path parameters

- `test_case_id` string, required

## Headers

- `x-api-key` string

## Response `200`

Test case deleted

- unknown

## Other responses

- `401` — Invalid or missing API key
- `404` — Test case not found
- `422` — Validation Error
- `500` — Internal server error

---

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