Skip to main content
PATCH
Update Variable

Authorizations

X-API-Key
string
header
required

Path Parameters

variable_id
string
required

Body

application/json

Partial-update payload — same shape, all fields optional.

name
string | null
value_type
enum<string> | null
Available options:
string,
number,
boolean,
json,
datetime,
file
source
enum<string> | null
Available options:
inline,
vault,
environment
inline_value
string | null
vault_credential_id
string | null
vault_path
string | null
vault_key
string | null
env_var_name
string | null

Response

Successful Response

The response is of type Response Update Variable · object.