Skip to main content
PATCH
Update Environment Variable

Authorizations

Authorization
string
header
required

API key authentication. Obtain your API key from the Replicas dashboard under Organization → Settings → API Keys. User-session JWTs are not accepted by /v1/replica endpoints.

Path Parameters

environmentId
string
required

Environment UUID, or the literal string global.

id
string<uuid>
required

Variable UUID

Body

application/json

Request body for updating an environment variable. Only provided fields are changed.

key
string
value
string
personal_override_allowed
boolean

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

Response

Variable updated

environment_variable
object
required

An environment variable. Values are encrypted at rest and decrypted on read.