Environment Variables

Replace the entire set of environment variables

Replaces the application's environment variables with exactly the set provided in the request body. Variables not listed are removed; pass an empty object to wipe all of them.

Limits: up to 256 variables, each key max 1024 chars, each value max 4096 chars.

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

put/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

Complete env set. Replaces all existing variables.

Response

Environment variables replaced.

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.