Abort a specific build

POST /apps/{app-slug}/builds/{build-slug}/abort

Abort a specific build. Set an abort reason with the abort_reason parameter. Use the abort_with_success parameter to abort a build but still count it as a successful one.

Path parameters

Body Required

Build abort parameters

Responses

  • OK

    Hide response attribute Show response attribute object
  • 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
  • Too Many Requests

    Hide response attribute Show response attribute object
  • Internal Server Error

    Hide response attribute Show response attribute object
POST /apps/{app-slug}/builds/{build-slug}/abort
curl \
 --request POST 'https://api.bitrise.io/v0.1/apps/{app-slug}/builds/{build-slug}/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 (200)
{
  "status": "string"
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (429)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}