---
title: "Update a job branch"
method: POST
path: "/api/job/update-branch"
tags: ["jobs"]
---

# Update a job branch

`POST /api/job/update-branch`

## Request body

- UpdateJobBranchRequest
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `branch` string, required
  - `job_id` integer, required

## Response `200`

OK

- UpdateJobBranchOutputBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `success` boolean, required
  - `updated` boolean, required

## Other responses

- `default` — Error

---

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