---
title: "Cancels a promotion to an environment"
method: POST
path: "/v1/models/{model_id}/environments/{env_name}/cancel_promotion"
---

# Cancels a promotion to an environment

`POST /v1/models/{model_id}/environments/{env_name}/cancel_promotion`

Cancels an ongoing promotion to an environment and returns the cancellation status.

## Response `200`

- CancelPromotionResponseV1 — The response to a request to cancel a promotion.
  - `status` 'CANCELED' | 'RAMPING_DOWN', required — The status of a request to cancel a promotion.
  - `message` string, required — A message describing the status of the request to cancel a promotion

---

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