Update variable
Update variable
Changes an existing function variable in place. The response carries only a confirmation message, so refetch the function variable to read its new values.
PATCH
Update variable
Authorizations
Voiceflow bearer token
Path Parameters
The ID of the variable to operate on.
Query Parameters
The ID of the project to operate on.
The alias of the environment to operate on (e.g. main).
Body
application/json
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.
A human-readable message confirming the update.