---
title: "Delete a test"
method: DELETE
path: "/api/tests/{id}"
tags: ["Tests"]
---

# Delete a test

`DELETE /api/tests/{id}`

Delete a test. Fails if the test is in use by active jobs or synthetic monitors.

## Response `200`

Test deleted

- object
  - `success` boolean, required
  - `message` string, required

## Other responses

- `401` — Authentication required or token invalid
- `403` — Insufficient permissions
- `404` — Resource not found
- `409` — Test is in use by jobs or synthetic monitors and cannot be deleted

---

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