---
title: "Aborts a pipeline"
method: POST
path: "/apps/{app-slug}/pipelines/{pipeline-id}/abort"
tags: ["pipelines"]
---

# Aborts a pipeline

`POST /apps/{app-slug}/pipelines/{pipeline-id}/abort`

Aborts a pipeline. You need to provide the app slug and the id of the pipeline. You can add an abort reason, choose to skip notifications and make the abort with success state.

## Path parameters

- `app-slug` string, required
- `pipeline-id` string, required

## Request body

- V0PipelineAbortParams
  - `abort_reason` string, required
  - `abort_with_success` boolean, required
  - `skip_notifications` boolean, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/bitrise/apis/bitrise-api.md) · [All operations](https://skmtc.net/bitrise/apis/bitrise-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitrise/bitrise-api/revisions/89468e4a014b/schema)
