---
title: "Promote Revision"
method: POST
path: "/v2/revisions/{build_id}/promote"
tags: ["Revisions"]
---

# Promote Revision

`POST /v2/revisions/{build_id}/promote`

## Request

- Base URL: `https://api.duvo.ai`
- URL: `https://api.duvo.ai/v2/revisions/{build_id}/promote`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/duvo/apis/duvo-public-api/docs/v2/revisions/:build_id/promote/post.ts> (a function with typed inputs; its response is checked against the schema)

Promote a draft or historic revision to the live version. The live revision is the one used by triggers and new runs. Fails if the revision is already live, or if a draft revision still has an active builder run.

## Path parameters

- `build_id` string, uuid, required

## Request body

- object
  - `revision_name` string: Optional display name to set on the promoted revision.
  - `revision_description` string, nullable: Optional description for the promoted revision. Pass null to clear an existing description.

## Response `200`

Default Response

- object
  - `success` boolean, required

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Default Response
- `409`: Default Response
- `500`: Default Response

---

[API](https://skmtc.dev/duvo/apis/duvo-public-api.md) - [All operations](https://skmtc.dev/duvo/apis/duvo-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/duvo/apis/duvo-public-api/revisions/dafcf3d868a9?raw)
