Skip to main content
DELETE
/
texml
/
Accounts
/
{account_sid}
/
Queues
/
{queue_sid}
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.texml.accounts.queues.delete('queue_sid', { account_sid: 'account_sid' });
{
  "errors": [
    {
      "detail": "Resource not found"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

account_sid
string
required

The id of the account the resource belongs to.

queue_sid
string
required

The QueueSid that identifies the call queue.

Response

The resource was deleted successfully.