Update phone number

Update assigned agent of a phone number

Paramètres de chemin

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

En-têtes

xi-api-keystringOptionnel

Requête

This endpoint expects an object.
agent_idstringOptionnel
labelstringOptionnel
inbound_trunk_configobjectOptionnel
outbound_trunk_configobjectOptionnel
livekit_stackenumOptionnelPar défaut standard
Valeurs autorisées:
store_sip_messagesbooleanOptionnel
environmentstringOptionnel
Environment to use for resolving environment variables on calls to this number.
branch_idstringOptionnel
Agent branch to use for calls to this number.

Réponse

Successful Response
twilioobject
OR
exotelobject
OR
sip_trunkobject

Erreurs

422
Phone Numbers Update Request Unprocessable Entity Error