Skip to main content
PATCH
Update an environment variable

Authorizations

x-brimble-key
string
header
required

API key created in the dashboard under Settings → API keys. Each key carries permission scopes; every endpoint lists the scope it needs.

Path Parameters

environmentId
string
required

ID of the environment.

Pattern: ^[a-fA-F0-9]{24}$
varId
string
required

ID of the variable.

Pattern: ^[a-fA-F0-9]{24}$

Body

application/json
name
string

New variable name.

value
string

New variable value.

inheritable
boolean

Let environments that inherit from this one use the variable.

Response

Environment variable updated successfully

message
string
required

Human-readable result of the request.

Example:

"Environment variable updated successfully"

data
any
required

The result of the request.

Last modified on October 31, 2026