Skip to content
Get started

Delete a voice

client.voices.delete(stringid, RequestOptionsoptions?): VoiceDeleteResponse { success }
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: string
ReturnsExpand Collapse
VoiceDeleteResponse { success }
success: boolean

Delete a voice

import Revox from '@revoxai/sdk';

const client = new Revox({
  apiKey: process.env['REVOX_API_KEY'], // This is the default and can be omitted
});

const voice = await client.voices.delete('id');

console.log(voice.success);
{
  "success": true
}
Returns Examples
{
  "success": true
}