v1

latestOpenAPI 3.1.02026-07-22100167210.7 KB
Environments

Create Environment Variable

Adds a new variable to the environment. Values are encrypted at rest. The (environment, key) pair must be unique within the org. Source-backed personal environments can override inherited variable keys only when the inherited variable has personal_override_allowed: true.

post/v1/environments/{environmentId}/variables

Path parameters

environmentIdstring required

Environment UUID, or the literal string global for the org's Global environment.

Request body

keystring required

Variable name

valuestring required

Variable value (encrypted at rest)

personal_override_allowedboolean

Team/Global variables only. Allows source-backed personal environments to override this inherited key.

Response

Variable created