Add or update an environment variable
PUT {{baseUrl}}/context/:context-id/environment-variable/:env-var-name
Create or update an environment variable within a context. Returns information about the environment variable, not including its value.
Request Body
{"value"=>"some-secret-value"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"variable":"POSTGRES_USER","created_at":"2015-09-21T17:29:21.042Z","context_id":"urn:uuid:7fdde56b-11cf-e992-4599-ebd0705ea8ef"}