---
title: "Update"
method: POST
path: "/builds/{buildId}/update"
tags: ["builds"]
---

# Update

`POST /builds/{buildId}/update`

## Path parameters

- `buildId` string, required

## Request body

- object
  - `pullRequest` object
    - `createOnSuccess` boolean
    - `mergeOnSuccess` boolean

## Response `200`

ok

## Changes

- **2019-03-12** `d4cea1528f20` — 2 info
  - api tag `builds` added
  - api tag `workflows` removed
- **2019-02-14** `c718449cec44` — 2 info
  - api tag `workflows` added
  - api tag `builds` removed

[Change history](https://skmtc.dev/codefresh-io/apis/codefresh-api/changes/builds/:buildId/update/post.md)

---

[API](https://skmtc.dev/codefresh-io/apis/codefresh-api.md) · [All operations](https://skmtc.dev/codefresh-io/apis/codefresh-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/codefresh-io/codefresh-api/revisions/fa310e908c46/schema)
