Environment Variables

Merge new environment variables into the existing set

Adds or updates environment variables. Existing variables not present in the request body are preserved. Up to 256 variables per application; each key max 1024 chars; each value max 4096 chars.

Requires the workspace Administrator role (or ownership) when called against a workspace-shared application.

post/v2/apps/{appId}/envs

Path parameters

appIdstring required

Application identifier. Optionally suffixed with -<workspaceId> to act on a workspace-shared application.

Request body

envsobject required

Variables to merge into the existing set.

Response

Updated environment variables.

status'success' required
responseEnvVars required

Environment variables as an arbitrary { key: value } map of strings.

Changes

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