Skip to main content
PATCH
Update variable

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

variableID
string
required

The ID of the variable to operate on.

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

application/json
name
string

The name of the variable, referenced within the API tool request.

description
string | null

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.