import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});await client.voiceDesigns.delete('id');
Copy
{ "errors": [ { "code": "10005", "title": "Resource not found", "detail": "Voice design not found" } ]}
Permanently deletes a voice design and all of its versions. This action cannot be undone.
DELETE
/
voice_designs
/
{id}
JavaScript
Copy
import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});await client.voiceDesigns.delete('id');
Copy
{ "errors": [ { "code": "10005", "title": "Resource not found", "detail": "Voice design not found" } ]}