# Create server

```http
POST /servers
```

Create a dedicated server for an environment. Requires project.runtime.manage.

## Parameters

| Name                | In    | Required | Description |
| ------------------- | ----- | -------- | ----------- |
| `project_reference` | query |          |             |

## Request body

| Field            | Type   | Required | Description                            |
| ---------------- | ------ | -------- | -------------------------------------- |
| `environment_id` | string | Yes      | Environment UUID to link the server to |

## Responses

| Status | Description                                                          |
| ------ | -------------------------------------------------------------------- |
| 201    | Server created                                                       |
| 400    | Invalid input                                                        |
| 401    | Unauthorized                                                         |
| 402    | Server capacity limit reached                                        |
| 403    | Forbidden                                                            |
| 404    | Environment not found, or with project\_reference: project not found |
| 500    | Server error                                                         |
