Application Environment

Create application environment

Creates a new environment for the specified application. applicationVersionId accepts only an exact immutable ApplicationVersion UUID; semantic version names are rejected.

post/v2/application/{organization}/{project}/{application}/environment

Request

  • Base URL: https://api.zephyr-cloud.io
  • URL: https://api.zephyr-cloud.io/v2/application/{organization}/{project}/{application}/environment
  • Auth: HTTP bearer

Path parameters

organizationstring required

Organization name (slug)

Example:zephyr-cloud
projectstring required

Project name (slug)

Example:main-app
applicationstring required

Application name (slug)

Example:web-dashboard

Request body

namestring required
applicationVersionIdstring uuid nullable

Exact immutable application version ID

customDnsNamesstring[]
versionIdstring
descriptionstring
envVarSetobject
isDefaultboolean
lockedboolean
protectedboolean

Example request

{
  "condition": {
    "channel": "tag",
    "value": {
      "value": "production",
      "label": "Production"
    }
  }
}

Response

Environment created successfully

valueboolean required

Changes

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