Update phone number

Update assigned agent of a phone number

Path parameters

phone_number_idstringRequired
The id of an agent. This is returned on agent creation.

Headers

xi-api-keystringRequired

Request

This endpoint expects an object.
agent_idstring or nullOptional
inbound_trunk_configobject or nullOptional
outbound_trunk_configobject or nullOptional

Response

Successful Response
GetPhoneNumberTwilioResponseModelobject
OR
GetPhoneNumberSIPTrunkResponseModelobject

Errors