curl -X POST \ "https://dash.empirical.run/api/test-runs/456/cancel" \ -H "Authorization: Bearer $EMPIRICALRUN_KEY"
Copy
{ "message": "Test run cancelled successfully"}
Test Runs
Cancel Test Run
Cancel a running or pending test run
POST
/
api
/
test-runs
/
{id}
/
cancel
Copy
curl -X POST \ "https://dash.empirical.run/api/test-runs/456/cancel" \ -H "Authorization: Bearer $EMPIRICALRUN_KEY"
Copy
{ "message": "Test run cancelled successfully"}
Cancels a test run that is currently in progress or pending. The test run will transition to the cancelling state and then to cancelled once the operation completes.