Update a build request

PATCH /apps/{app-slug}/build-requests/{build-request-slug}

Update a specific build request of a specific app

Path parameters

  • app-slug string Required

    App slug

  • build-request-slug string Required

    Build request slug

Body Required

Build request parameters

  • is_approved boolean Required

Responses

  • 200

    OK

    Hide response attribute Show response attribute object
    • data object

      Additional properties are allowed.

      Hide data attributes Show data attributes object
      • build_params object

        Additional properties are allowed.

      • created_at string
      • pull_request_url string
      • slug string
  • 400

    Bad Request

    Hide response attribute Show response attribute object
    • message string
  • 401

    Unauthorized

    Hide response attribute Show response attribute object
    • message string
  • 404

    Not Found

    Hide response attribute Show response attribute object
    • message string
  • 500

    Internal Server Error

    Hide response attribute Show response attribute object
    • message string
PATCH /apps/{app-slug}/build-requests/{build-request-slug}
curl \
 --request PATCH 'https://api.bitrise.io/v0.1/apps/{app-slug}/build-requests/{build-request-slug}' \
 --header "Authorization: $API_KEY" \
 --data '{"is_approved":true}'
Request examples
{
  "is_approved": true
}
Response examples (200)
{
  "data": {
    "build_params": {},
    "created_at": "string",
    "pull_request_url": "string",
    "slug": "string"
  }
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}