Update phone number

Update assigned agent of a phone number

Parâmetros de caminho

phone_number_idstringObrigatório
The phone number ID. This is returned when a phone number is imported.

Cabeçalhos

xi-api-keystringOpcional

Solicitação

This endpoint expects an object.
agent_idstringOpcional
labelstringOpcional
inbound_trunk_configobjectOpcional
outbound_trunk_configobjectOpcional
livekit_stackenumOpcionalPadrão é standard
Valores permitidos:
store_sip_messagesbooleanOpcional
environmentstringOpcional
Environment to use for resolving environment variables on calls to this number.
branch_idstringOpcional
Agent branch to use for calls to this number.

Resposta

Successful Response
twilioobject
OR
exotelobject
OR
sip_trunkobject

Erros

422
Phone Numbers Update Request Unprocessable Entity Error