---
title: "Delete a test"
method: DELETE
path: "/api/v1/eval-cases/{case_id}"
tags: ["authed"]
---

# Delete a test

`DELETE /api/v1/eval-cases/{case_id}`

## Request

- Base URL: `https://api.teaflask.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.teaflask.com/api/v1/eval-cases/{case_id}`
- Auth: none declared

Deletes a test and everything it holds, whether or not Tests is
available. Test runs' spend on it settles first.

## Path parameters

- `case_id` string, uuid, required: The test's id, as list_tests returns it.

## Response `204`

Successful Response

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `405`: Method not allowed
- `422`: Validation error
- `500`: Internal server error

---

[API](https://skmtc.dev/teaflask/apis/teaflask-api.md) - [All operations](https://skmtc.dev/teaflask/apis/teaflask-api/llms.txt) - [OpenAPI document](https://skmtc.dev/teaflask/apis/teaflask-api/revisions/d23e9286b847?raw)
