Test runsCancel a test run

Cancel a test run

Request cancellation of a run available to the account.

curl -X POST "https://app.aegisrunner.com/api/v1/test-runs/123e4567-e89b-12d3-a456-426614174000/cancel" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "John Doe",
  "status": "example_string"
}
POST
/test-runs/{runId}/cancel
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

AegisRunner account session access token. Complete the supported sign-in, security verification, and two-factor flow as required.

AegisRunner account session access token. Complete the supported sign-in, security verification, and two-factor flow as required.
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. AegisRunner account session access token. Complete the supported sign-in, security verification, and two-factor flow as required.

Path Parameters

Responses

idstring

Resource identifier.

namestring
statusstring

Request cancellation of a run available to the account. Inspect its final state rather than treating cancellation as a successful test result.

Authenticate with an account session as described in Project and testing API. Use resource IDs available to the same organization and project.

For unattended pipelines, use the separately authenticated CI endpoints.