cURL
curl --request POST \ --url https://dash.empirical.run/api/test-runs/{id}/cancel \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "reason": "<string>" } '
{ "message": "<string>" }
Cancels a test run that is currently in progress or pending.
API key from the Empirical dashboard.
Test run ID.
-9007199254740991 <= x <= 9007199254740991
Cancel options.
Test run cancelled.
Was this page helpful?