Skip to content

Archive or permanently delete a Solution run

DELETE
/api/solutions/runs/{run_id}/
curl --request DELETE \
--url http://localhost:8000/api/solutions/runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/ \
--header 'Authorization: Bearer <token>'

Two-step trash (#1192): a plain DELETE soft-archives the run (it drops out of the active list but stays recoverable and its share links keep resolving). ?permanent=true hard-deletes an archived run — its share links CASCADE with it and it can’t be recovered. Team-scoped; cross-team is a 404.

run_id
required
string format: uuid
permanent
boolean

true hard-deletes (irreversible) instead of soft-archiving.

Archived or deleted.

Media typeapplication/json
object
detail
required

Human-readable message, or a stable machine code for the cases a client branches on. The standard envelope for 400 (validation — a field-keyed object may appear instead), 401 (missing / invalid credentials), 403 (authenticated but not permitted), and 404 (absent — cross-team records are collapsed to 404 so the API never leaks the existence of another team’s data).

string
Examplegenerated
{
"detail": "example"
}