---
title: "Promote a flag's state to the next environment"
method: POST
path: "/api/v1/flags/{key}/promote"
tags: ["Management"]
---

# Promote a flag's state to the next environment

`POST /api/v1/flags/{key}/promote`

## Request

- Base URL: `https://launchflag.dev`
- URL: `https://launchflag.dev/api/v1/flags/{key}/promote`
- Auth: HTTP bearer

## Response `200`

Promoted

## Other responses

- `401`: A JSON error with a message that says how to fix it

---

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