Update phone number

Update assigned agent of a phone number

Path parameters

phone_number_idstringRequired
The phone number ID. This is returned when a phone number is imported.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
agent_idstringOptional
labelstringOptional
inbound_trunk_configobjectOptional
outbound_trunk_configobjectOptional
livekit_stackenumOptionalDefaults to standard
Allowed values:
store_sip_messagesbooleanOptional
environmentstringOptional
Environment to use for resolving environment variables on calls to this number.
branch_idstringOptional
Agent branch to use for calls to this number.

Response

Successful Response
twilioobject
OR
exotelobject
OR
sip_trunkobject

Errors

422
Phone Numbers Update Request Unprocessable Entity Error