Patch voices
PATCH
Patch voices

Authorizations

Authorization
string
header
required

Voiceflow bearer token

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

primary
object

The default voice: the one a conversation speaks with unless a language voice matches its locale.

setOverrides
object[]

Language voices to add, or to change when the agent already has one for that locale.

removeOverrides
string[]

Locales whose language voice to delete, as stored. They match ignoring case and _, as the runtime matches them.

Response

200 - application/json
message
string
required

A human-readable message confirming the update.

added
string[]
required

Locales that got a language voice they did not have.

replaced
string[]
required

Locales whose language voice changed.

removed
string[]
required

Locales whose language voice was deleted.

notFound
string[]
required

Locales in removeOverrides the agent had no language voice for. Nothing was deleted for them.

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close the search.