Skip to main content
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"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required

The voice design UUID or name.

version
integer
required

The version number to delete.

Required range: x >= 1

Response

Voice design version deleted successfully.