import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
await client.ai.assistants.versions.delete('version_id', { assistant_id: 'assistant_id' });{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Permanently removes a specific version of an assistant. Can not delete main version
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
await client.ai.assistants.versions.delete('version_id', { assistant_id: 'assistant_id' });{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?