Update function
Changes an existing function in place. The response carries only a confirmation message, so refetch the function to read its new values.
Authorizations
Voiceflow bearer token
Path Parameters
The ID of the function 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
The JavaScript source code executed when the function runs.
1048576An ordered list of path IDs controlling the display order of the function's exit paths.
A human-readable description of what the function does.
Response
Confirms the function was updated. Only a message is returned, not the revised function, so fetch the function again to read back its saved code.
A human-readable message confirming the update.