Cancel Run by ID

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Cancels a run.

Security: Requires a valid user

Usage: POSTapi/v1/runs/:runId/cancel

Produces: application/json

Sample Response:

{
  "id": 0,
  "pipelineId": 0,
  "pipelineSourceId": 0,
  "projectId": 0,
  "runNumber": 0,
  "statusCode": 0,
  "staticPropertyBag": {},
  "endedAt": "2019-12-03T22:37:38.982Z",
  "startedAt": "2019-12-03T22:37:38.982Z"
}

Response Codes:

200: Success

400: Run not found for the supplied ID