Skip to main content

Update the amount of allocatable global outbound channels allocated to a specific managed account.

PATCH 
/managed_accounts/:id/update_global_channel_limit

Update the amount of allocatable global outbound channels allocated to a specific managed account.

Request

Path Parameters

    id stringrequired

    Managed Account User ID

Body

required

Parameters that define the changes to the global outbounds channels for the managed account

    channel_limit integer

    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.

Responses

200: Successful response with information about the allocatable global outbound channels for the given account.

401: Unauthenticated response. Happens when the current user cannot be authenticated.

404: Resource not found

422: Unprocessable entity. Check the 'detail' field in response for details.

Request samples


curl -L -X PATCH 'https://api.telnyx.com/v2/managed_accounts/:id/update_global_channel_limit' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"channel_limit": 30
}'

Response samples


{
"data": {
"channel_limit": 30,
"email": "[email protected]",
"id": "096abcde-1122-3344-ab77-ff0123456789",
"manager_account_id": "beeabcde-1122-3344-ab77-ff0123456789",
"record_type": "managed_account_global_outbound_settings"
}
}