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 of the variable, referenced within the API tool request.

description
string

A description of the variable, used by the agent to determine what value to provide.

Response

200 - application/json

Confirms the API tool variable was updated. The body is a confirmation rather than the updated variable, so fetch the variable again to see its current name and description.

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.