Update phone number

Update assigned agent of a phone number

Parámetros de ruta

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

Encabezados

xi-api-keystringOpcional

Solicitud

This endpoint expects an object.
agent_idstringOpcional
labelstringOpcional
inbound_trunk_configobjectOpcional
outbound_trunk_configobjectOpcional
livekit_stackenumOpcionalValor predeterminado: 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.

Respuesta

Successful Response
twilioobject
OR
exotelobject
OR
sip_trunkobject

Errores

422
Phone Numbers Update Request Unprocessable Entity Error