Update variable
Update variable
Changes an existing API tool variable in place. The response carries only a confirmation message, so refetch the API tool 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 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.
A human-readable message confirming the update.