---
title: "Promote"
method: POST
path: "/api/v1/deploy/{deployment_id}/promote"
tags: ["deployments"]
---

# Promote

`POST /api/v1/deploy/{deployment_id}/promote`

Make a deployed deployment the active target for its slug.

## Path parameters

- `deployment_id` string, required

## Request body

- PromoteRequest
  - `demote_deployment_id` string, nullable — Deployment to stand down in the same write, for an atomic production swap.

## Response `200`

Successful Response

- PromoteResponse
  - `deployment_id` string, required
  - `is_active` boolean, required

---

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