# Create deployment

```http
POST /projects/{project_reference}/deployments
```

Create a deployment. Requires project.deploy.execute.

## Parameters

| Name                | In   | Required | Description                                                |
| ------------------- | ---- | -------- | ---------------------------------------------------------- |
| `project_reference` | path | Yes      | Project slug, UUID, or domain that identifies the project. |

## Request body

| Field            | Type   | Required | Description                    |
| ---------------- | ------ | -------- | ------------------------------ |
| `release_id`     | string | Yes      | UUID of the release to deploy  |
| `environment_id` | string | Yes      | UUID of the target environment |

## Responses

| Status | Description                     |
| ------ | ------------------------------- |
| 201    | Deployment created successfully |
| 400    | Bad request                     |
| 401    | Unauthorized                    |
| 403    | Forbidden                       |
| 404    | Not found                       |
| 409    | Conflict                        |
| 500    | Server error                    |
