Skip to main content
Update selected build and runtime settings for an environment.

Usage

Flags

string
required
Project identifier or slug.
string
required
Application identifier or slug.
string
required
Environment identifier or slug.
string
Dockerfile path.
string
Build root directory.
string
Command used to build the app.
string[]
Paths that trigger a deployment. Pass an empty value to clear the current paths.
bool
Whether pushes deploy automatically.
integer
Container port.
number
CPU allocation in vCPUs.
integer
Memory allocation in MiB.
integer
Storage allocation in MiB.
string[]
Container command. Pass an empty value to clear the current command.
JSON string
Healthcheck with method, path, intervalSeconds, timeoutSeconds, failureThreshold, and initialDelaySeconds.
string
Container shutdown signal. Valid choices are SIGTERM, SIGINT, SIGQUIT, and SIGKILL.
string
Protocol used to reach the container. Valid choices are http1 and h2c.
string
OpenAPI specification path.
JSON string
Regions with name and min/max replica bounds.

Global Flags

Examples

The current Go SDK can’t represent explicit null values for dockerfile, buildCommand, healthcheck, or openapiSpecPath. Use the HTTP API directly to clear these settings.
See the Update settings API reference.
Last modified on July 23, 2026