Skip to main content
DELETE
/
ai
/
assistants
/
{assistant_id}
/
scheduled_events
/
{event_id}
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.ai.assistants.scheduledEvents.delete('event_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
event_id
string
required

Response

Successful Response