Permanently deletes a specific version of a voice design. The version number must be a positive integer.
DELETE
/
voice_designs
/
{id}
/
versions
/
{version}
JavaScript
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.deleteVersion(1, { id: 'id' });
{ "errors": [ { "code": "10005", "title": "Resource not found", "detail": "Voice design not found" } ]}
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.deleteVersion(1, { id: 'id' });
{ "errors": [ { "code": "10005", "title": "Resource not found", "detail": "Voice design not found" } ]}
Assistant
Responses are generated using AI and may contain mistakes.