Update an existing voice

PUT

Update an existing voice with new name, description, or audio file.

Path parameters

voice_idstringRequired

The ID of the voice to update

Request

This endpoint expects a multipart form containing an optional file.
namestringOptional

The name of the new voice.

filefileOptional
descriptionstringOptional

Optional description of the voice.

Response

This endpoint returns an object.
idstring

Unique identifier for the voice.

namestring

Name of the voice.

descriptionstring

Description of the voice. This field is required but can be an empty string.

is_publicboolean

Indicates whether the voice is publicly accessible or not.