Skip to main content
DELETE
/
v2
/
mobile_voice_connections
/
{id}
JavaScript
import Telnyx from 'telnyx';

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

const mobileVoiceConnection = await client.mobileVoiceConnections.delete('id');

console.log(mobileVoiceConnection.data);
{
  "data": {
    "id": "<string>",
    "record_type": "mobile_voice_connection",
    "active": true,
    "connection_name": "<string>",
    "tags": [
      "<string>"
    ],
    "webhook_event_url": "<string>",
    "webhook_event_failover_url": "<string>",
    "webhook_api_version": "1",
    "webhook_timeout_secs": 123,
    "outbound": {
      "channel_limit": 123,
      "outbound_voice_profile_id": "<string>"
    },
    "inbound": {
      "channel_limit": 123
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Response

data
object