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-keystringOptional

Request

This endpoint expects an object.
agent_idstringOptional
labelstringOptional
inbound_trunk_configobjectOptional
outbound_trunk_configobjectOptional
livekit_stackenumOptional
Allowed values:

Response

Successful Response
twilioobject
OR
sip_trunkobject

Errors