Skip to main content
DELETE
/
ai
/
assistants
/
{assistant_id}
/
versions
/
{version_id}
JavaScript
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

assistant_id
string
required
version_id
string
required

Response

Returns HTTP 204 No Content on successful deletion