Delete variable
Delete variable
Deletes a single function variable by ID. A function variable is an input or output a function declares. The response carries only a confirmation message, so refetch the function variables to see what is left.
DELETE
Delete 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).
Response
200 - application/json
Confirms the function variable was deleted. A message is all that comes back, so refetch the function's variables to see which inputs and outputs its code can still reference.
A human-readable message confirming the deletion.