Update variable
PATCH
Update variable

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

variableID
string
required

Query Parameters

projectID
string
required

The ID of the project to operate on.

environmentAlias
string
required

The alias of the environment to operate on (e.g. main).

Body

name
string

The name used to reference the variable in the function code.

description
string

A human-readable description of what the variable holds.

Response

200 - application/json

Confirms the function variable was updated. The body confirms the write rather than returning the variable, so fetch the variable again to check its name, description, and whether it is an input or an output.

message
string
required

A human-readable message confirming the update.

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close the search.