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

Body Required

Pipeline abort parameters

Responses

  • OK

  • Bad Request

    Hide response attribute Show response attribute object
  • Unauthorized

    Hide response attribute Show response attribute object
  • Not Found

    Hide response attribute Show response attribute object
  • Internal Server Error

    Hide response attribute Show response attribute object
POST /apps/{app-slug}/pipelines/{pipeline-id}/abort
curl \
 --request POST 'https://api.bitrise.io/v0.1/apps/{app-slug}/pipelines/{pipeline-id}/abort' \
 --header "Authorization: $API_KEY" \
 --data '{"abort_reason":"string","abort_with_success":true,"skip_notifications":true}'
Request examples
{
  "abort_reason": "string",
  "abort_with_success": true,
  "skip_notifications": true
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}