Skip to main content
POST
Create an environment variable

Authorizations

Authorization
string
header
required

JWT sent in Authorization: Bearer . Access depends on the token's network membership and permissions. The admin endpoint requires admin claims.

Headers

X-Network-ID
string
required

Network ID

Body

application/json

Environment variable key and plaintext value

Environment variable key and plaintext value

key
string
required
Example:

"JAVA_TOOL_OPTIONS"

value
string
required
Example:

"-Xmx2G"

Response

Created

Response for creating an environment variable

environment_variable_id
string
Example:

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

key
string
Example:

"JAVA_TOOL_OPTIONS"

message
string
Example:

"Environment variable created successfully"

value
string
Example:

"-Xmx2G"