Skip to main content
PUT
Save or replace a build variable of the factory

Authorizations

X-Outerlayer-App-Id
string
header
required

Factory id the request is scoped to.

Authorization
string
header
required

API key (sk_outerlayer_*)

Path Parameters

appId
string<uuid>
required
name
string
required
Required string length: 1 - 1000

Body

application/json
service
object | null

Send the variable to this service through the runner. null removes the service. Leave it out to keep the service the variable has.

value
string

The variable's value. The gateway stores it in Vault and never returns it. Leave it out to change only the header of a service at the same host. A save that changes the host, adds a service or removes it needs the value.

Required string length: 1 - 32768

Response

The value was saved.

data
object
required