Skip to main content
PUT
Update an environment variable

Headers

X-Network-ID
string
required

Network ID

X-Network-Credential
string
required

Network Credential (network password or JWT)

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"