Skip to main content
DELETE
/
ai
/
assistants
/
{assistant_id}
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const assistant = await client.ai.assistants.delete('assistant_id');

console.log(assistant.id);
{
  "id": "<string>",
  "object": "<string>",
  "deleted": true
}

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

Response

Successful Response

id
string
required
object
string
required
deleted
boolean
required