Application Environment

Update environment variables

Updates the environment variables for the specified environment

post/v2/application/{organization}/{project}/{application}/environment/{environment}/env-vars

Request

  • Base URL: https://api.zephyr-cloud.io
  • URL: https://api.zephyr-cloud.io/v2/application/{organization}/{project}/{application}/environment/{environment}/env-vars
  • 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
environmentstring required

Environment name

Example:production

Request body

variablesobject required

Environment variables to set

Example request

{
  "variables": {
    "API_URL": "https://api.example.com",
    "NODE_ENV": "production"
  }
}

Response

Environment variables updated successfully

valueboolean required

Changes

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