Skip to main content
POST
/
v1
/
testSuiteRun
/
cancel
Cancel test suite runs
curl --request POST \
  --url https://api.stably.ai/v1/testSuiteRun/cancel \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '
{
  "where": {
    "testSuiteId": "<string>"
  }
}
'
{
  "cancelled": [
    {
      "testSuiteRunId": "<string>"
    }
  ]
}

Authorizations

authorization
string
header
required

Body

application/json
where
object
required

Specify either testSuiteId or testSuiteRunId to identify runs to cancel

Response

200 - application/json

Default Response

Test suite runs were cancelled

cancelled
object[]
required

List of cancelled test suite runs