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
labelstring or nullOptional
inbound_trunk_configobject or nullOptional
outbound_trunk_configobject or nullOptional
livekit_stackenum or nullOptionalDefaults to standard
Allowed values:

Response

Successful Response
twilioobject
OR
sip_trunkobject

Errors

422
Unprocessable Entity Error