import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.managedAccounts.updateGlobalChannelLimit('id');
console.log(response.data);{
"data": {
"channel_limit": 30,
"email": "allocate_demo@customer.com",
"id": "096abcde-1122-3344-ab77-ff0123456789",
"manager_account_id": "beeabcde-1122-3344-ab77-ff0123456789",
"record_type": "managed_account_global_outbound_settings"
}
}Update the amount of allocatable global outbound channels allocated to a specific managed account.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.managedAccounts.updateGlobalChannelLimit('id');
console.log(response.data);{
"data": {
"channel_limit": 30,
"email": "allocate_demo@customer.com",
"id": "096abcde-1122-3344-ab77-ff0123456789",
"manager_account_id": "beeabcde-1122-3344-ab77-ff0123456789",
"record_type": "managed_account_global_outbound_settings"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Managed Account User ID
Parameters that define the changes to the global outbounds channels for the managed account
Integer value that indicates the number of allocatable global outbound channels that should be allocated to the managed account. Must be 0 or more. If the value is 0 then the account will have no usable channels and will not be able to perform outbound calling.
30
Successful response with information about the allocatable global outbound channels for the given account.
Show child attributes
Integer value that indicates the number of allocatable global outbound channels that are allocated to the managed account. If the value is 0 then the account will have no usable channels and will not be able to perform outbound calling.
30
The email of the managed account.
"customer@example.org"
The user ID of the managed account.
"096abcde-1122-3344-ab77-ff0123456789"
The user ID of the manager of the account.
"beeabcde-1122-3344-ab77-ff0123456789"
The name of the type of data in the response.
"managed_account_global_outbound_settings"
{
"channel_limit": 30,
"email": "allocate_demo@customer.com",
"id": "096abcde-1122-3344-ab77-ff0123456789",
"manager_account_id": "beeabcde-1122-3344-ab77-ff0123456789",
"record_type": "managed_account_global_outbound_settings"
}Was this page helpful?