import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const channelZone = await client.channelZones.update('channel_zone_id', { channels: 0 });
console.log(channelZone.id);{
"record_type": "channel_zone",
"countries": [
"BE",
"EL",
"LT",
"PT",
"BG",
"ES",
"LU",
"RO",
"CZ",
"FR",
"HU",
"SI",
"DK",
"HR",
"MT",
"SK",
"DE",
"IT",
"NL",
"FI",
"EE",
"CY",
"AT",
"SE",
"IE",
"LV",
"PL"
],
"id": "1653e6a1-4bfd-4857-97c6-6a51e1c34477",
"name": "Euro channel zone",
"channels": 7,
"created_at": "2019-01-23T18:10:02.574Z",
"updated_at": "2019-01-23T18:10:02.574Z"
}Update the number of Voice Channels for the Non-US Zones. This allows your account to handle multiple simultaneous inbound calls to Non-US numbers. Use this endpoint to increase or decrease your capacity based on expected call volume.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const channelZone = await client.channelZones.update('channel_zone_id', { channels: 0 });
console.log(channelZone.id);{
"record_type": "channel_zone",
"countries": [
"BE",
"EL",
"LT",
"PT",
"BG",
"ES",
"LU",
"RO",
"CZ",
"FR",
"HU",
"SI",
"DK",
"HR",
"MT",
"SK",
"DE",
"IT",
"NL",
"FI",
"EE",
"CY",
"AT",
"SE",
"IE",
"LV",
"PL"
],
"id": "1653e6a1-4bfd-4857-97c6-6a51e1c34477",
"name": "Euro channel zone",
"channels": 7,
"created_at": "2019-01-23T18:10:02.574Z",
"updated_at": "2019-01-23T18:10:02.574Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Channel zone identifier
Quantity of reserved channels and organizational update option
The number of reserved channels
Successfuly patched channel zone
channel_zone "channel_zone"
List of countries (in ISO 3166-2, capitalized) members of the billing channel zone
[
"BE",
"EL",
"LT",
"PT",
"BG",
"ES",
"LU",
"RO",
"CZ",
"FR",
"HU",
"SI",
"DK",
"HR",
"MT",
"SK",
"DE",
"IT",
"NL",
"FI",
"EE",
"CY",
"AT",
"SE",
"IE",
"LV",
"PL"
]"1653e6a1-4bfd-4857-97c6-6a51e1c34477"
"Euro channel zone"
7
ISO 8601 formatted date of when the channel zone was created
"2019-01-23T18:10:02.574Z"
ISO 8601 formatted date of when the channel zone was updated
"2019-01-23T18:10:02.574Z"
Was this page helpful?