Skip to content

Delete a test case

DELETE
/v1/test-cases/{id}
curl --request DELETE \
--url https://beta-api.plune.ai/v1/test-cases/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Reversible (D21): the case leaves every read — the list, the tree, the counters, resolve — and keeps its results, keys, tags and history; a result reported for it afterwards is refused like one for a foreign case. POST /v1/test-cases/{id}/restore puts it back for six months; after that the purge removes it with its results. A queue entry that created the case is unlinked and keeps its verdict.

id
required
string format: uuid

Deleted

No / invalid token or session

Not found, not yours, or already deleted

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

Rate-limited: either the per-route throttle or a tenant quota. Retry-After carries the seconds until the window rolls over.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over