Update inbound channels
PATCH/phone_numbers/inbound_channels
Update the inbound channels for the account
Request
- application/json
Body
required
Inbound channels update
channels integerrequired
The new number of concurrent channels for the account
Responses
200: Expected Update response
- application/json
default: Unexpected error
- application/json
Request samples
curl -L -X PATCH 'https://api.telnyx.com/v2/phone_numbers/inbound_channels' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"channels": 7
}'
Response samples
{
"data": {
"channels": 7,
"record_type": "inbound_channels"
}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}