---
title: "Deploy an environment"
method: POST
path: "/projects/{projectId}/environments/{environmentId}/deploy"
tags: ["Environment"]
---

# Deploy an environment

`POST /projects/{projectId}/environments/{environmentId}/deploy`

Trigger a controlled [manual deployment](https://docs.upsun.com/learn/overview/build-deploy.html#manual-deployment)
to release all the staged changes

## Path parameters

- `projectId` string, required
- `environmentId` string, required

## Request body

- EnvironmentDeployInput
  - `strategy` 'rolling' | 'stopstart', required — The deployment strategy (`rolling` or `stopstart`)

## Response `default`

- AcceptedResponse
  - `status` string, required — The status text of the response
  - `code` integer, required — The status code of the response

---

[API](https://skmtc.net/upsun/apis/upsun-com-rest-api.md) · [All operations](https://skmtc.net/upsun/apis/upsun-com-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/upsun/upsun-com-rest-api/revisions/6cc88fde6435/schema)
