Environments

Create an environment

Creates a new environment for the project.

post/projects/{project_id}/environments

Request

Path parameters

project_idstring required
Example:Xk9mZp

Project ID

Request body

namestring required
notificationsboolean nullable

Whether errors in this environment notify. Null means the default.

Example request

{
  "name": "production"
}

Response

Environment created

Example response

{
  "data": {
    "id": "En6tRm",
    "project_id": "Xk9mZp",
    "name": "production"
  },
  "meta": {
    "request_id": "6f1c2b0e-8d4a-4f6e-9b2a-3c5d7e9f1a2b"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.