import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const accessIPRange = await client.accessIPRanges.delete('access_ip_range_id');
console.log(accessIPRange.id);{
"id": "<string>",
"cidr_block": "<string>",
"status": "pending",
"user_id": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const accessIPRange = await client.accessIPRanges.delete('access_ip_range_id');
console.log(accessIPRange.id);{
"id": "<string>",
"cidr_block": "<string>",
"status": "pending",
"user_id": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?