---
title: "Cancel a run"
method: POST
path: "/capture/{journey_id}/runs/{journey_run_id}/abort"
---

# Cancel a run

`POST /capture/{journey_id}/runs/{journey_run_id}/abort`

## Request

- Base URL: `https://api.workflows.trengo.com`
- URL: `https://api.workflows.trengo.com/capture/{journey_id}/runs/{journey_run_id}/abort`
- Auth: none required

Use this endpoint to abort a run. The journey run will be marked as `aborted`.

## Path parameters

- `journey_id` string, required
- `journey_run_id` string, required

## Response `200`

200

- object
  - `status` integer
  - `message` string

## Other responses

- `404`: 404
- `500`: 500

---

[API](https://skmtc.dev/trengo/apis/journeys-api.md) - [All operations](https://skmtc.dev/trengo/apis/journeys-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trengo/apis/journeys-api/revisions/31501260dda4?raw)
