---
title: "prepareConfigPromotion"
method: POST
path: "/platform/environments/{id}/config-promotions"
tags: ["Platform"]
---

# prepareConfigPromotion

`POST /platform/environments/{id}/config-promotions`

## Request

- Base URL: `https://api.imprezahost.com/v1`
- URL: `https://api.imprezahost.com/v1/platform/environments/{id}/config-promotions`
- Auth: API key in header `X-API-Key` and API key in header `X-API-Secret`

Deploy scope. Prepare a 15-minute reviewed promotion of the CONFIGURATION of a source environment into this (target) environment of the same project: the environment variable group plus each paired component's user variables (components pair by name, exactly like image promotion). The review buckets NAMES only — same, different, only_in_source, only_in_target — never a value; secret group values travel inside the sealed payload and are re-sealed under the target group on apply. 201 with promotion_id (cpro_...) and review_digest. At most 20 pending reviews per account.

## Path parameters

- `id` string, required

## Request body

- object
  - `source_environment_id` string, required

## Response `201`

Review with promotion_id

## Other responses

- `400`: Invalid input
- `403`: Required scope missing
- `404`: Resource or current ownership unavailable
- `409`: Source/target not eligible or another promotion is being prepared
- `429`: Pending review quota reached
- `503`: Storage unavailable; read before retrying

---

[API](https://skmtc.dev/imprezahost/apis/impreza-host-public-api.md) · [All operations](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/revisions/db86511f604f?raw)
