Skip to main content
POST
/
api
/
test-runs
/
{id}
/
cancel
Cancel Test Run
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>"
}

Authorizations

Authorization
string
header
required

API key from the Empirical dashboard.

Path Parameters

id
integer
required

Test run ID.

Required range: -9007199254740991 <= x <= 9007199254740991

Body

application/json

Cancel options.

reason
string

Response

Test run cancelled.

message
string
required