Skip to main content
PATCH
Update Environment Variable

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required

Project slug, ID, or other supported project reference.

key
string
required

Environment variable key.

Query Parameters

environment_id
string<uuid>
required

Environment ID containing the variable.

Body

application/json
key
string

Environment variable key. Must start with a letter or underscore and contain only letters, numbers, and underscores.

Minimum string length: 1
Pattern: ^[A-Za-z_][A-Za-z0-9_]*$
value
string

Replacement environment variable value.

Response

Environment variable updated

id
string<uuid>
required
key
string
required
value
string
required