Skip to main content
PUT
Update an environment variable

Authorizations

X-Network-Credential
string
header
required

Network password or signed JWT. Password authentication also requires X-Network-ID and grants full access to that network, except the audit log. JWT permissions still apply.

Headers

X-Network-ID
string
required

Network ID

Body

application/json

Environment variable key and plaintext value

Request for creating or updating an environment variable

key
string
required
Example:

"JAVA_TOOL_OPTIONS"

value
string
required
Example:

"-Xmx2G"

Response

OK

Response for updating an environment variable

environment_variable_id
string
Example:

"123e4567-e89b-12d3-a456-426614174000"

key
string
Example:

"JAVA_TOOL_OPTIONS"

message
string
Example:

"Environment variable updated successfully"

value
string
Example:

"-Xmx2G"