Skip to content
Get started

Delete a voice

voices.delete(strid) -> VoiceDeleteResponse
DELETE/voices/{id}

Delete a cloned voice. Only cloned voices can be deleted. Returns 409 if the voice is in use by an assistant.

ParametersExpand Collapse
id: str
ReturnsExpand Collapse
class VoiceDeleteResponse:
success: bool

Delete a voice

import os
from revox import Revox

client = Revox(
    api_key=os.environ.get("REVOX_API_KEY"),  # This is the default and can be omitted
)
voice = client.voices.delete(
    "id",
)
print(voice.success)
{
  "success": true
}
Returns Examples
{
  "success": true
}