Skip to main content
PATCH
/
v1
/
projects
/
{projectId}
/
test-executions
/
{testExecutionId}
Cancel Test Execution
curl --request PATCH \
  --url https://eu1.api.matillion.com/dpc/v1/projects/{projectId}/test-executions/{testExecutionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "forceUpdate": true,
  "status": "CANCELLED"
}
'
{
  "testExecutionId": "1398aa31-af57-4a6a-9752-27c2e8556c3f"
}

Documentation Index

Fetch the complete documentation index at: https://docs.maia.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

a valid bearer token

Path Parameters

projectId
string
required

The UUID of the test execution's project

testExecutionId
string<uuid>
required

ID of the test execution, as returned when executing a test

Body

application/json
forceUpdate
boolean
required

If true, the execution will be forcefully terminated

status
enum<string>
required

Cancel pipeline execution by updating status to CANCELLED

Available options:
CANCELLED
Example:

"CANCELLED"

Response

Test execution cancelled successfully

testExecutionId
string<uuid>

Server-generated identifier for the cancelled test execution

Example:

"1398aa31-af57-4a6a-9752-27c2e8556c3f"