---
title: "Create an empty build configuration override"
method: POST
path: "/projects/{project_id}/build_configurations"
tags: ["Build Configurations"]
---

# Create an empty build configuration override

`POST /projects/{project_id}/build_configurations`

## Request

- Base URL: `https://sg.deployhq.com`
- URL: `https://sg.deployhq.com/projects/{project_id}/build_configurations`
- Auth: HTTP basic

Creates a new, empty non-default build environment override. No attributes are read from the request body; the override is returned with no target servers and no language versions set. Assign target servers with the update endpoint, and set language versions with the Language Versions endpoint.

## Path parameters

- `project_id` string, required

## Response `201`

Created

- BuildEnvironment
  - `identifier` string
  - `packages` object
    - `ruby` string
    - `php` string
    - `composer` string
    - `java` string
    - `dotnet` string
    - `go` string
    - `python2` string
    - `python3` string
    - `node` string
    - `phantomjs` string
  - `default` boolean
  - `servers` unknown[]
    - unknown

## Other responses

- `401`: You are not authorized to access this resource. You need to authenticate yourself first.
- `403`: You are not allowed to access this resource. You do not have the necessary permissions.
- `422`: Unprocessable Entity
- `500`: An unexpected error occurred on the server. The server was unable to process the request.

---

[API](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation.md) · [All operations](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/revisions/830264ae58be?raw)
