Skip to main content
PATCH
Update path

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

pathID
string
required

The ID of the function path 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 exit path, referenced by the function code when returning which path to take.

label
string | null

The display label shown for this path in the Voiceflow UI; falls back to name when null.

Response

200 - application/json

Confirms the path's name or label was changed. The body is a message only, and because the name is what function code returns to select this path, renaming it affects that code.

message
string
required

A human-readable message confirming the update.