전화번호 업데이트

전화번호에 할당된 에이전트를 업데이트합니다

경로 매개변수

phone_number_idstring필수

전화번호 ID입니다. 전화번호를 가져올 때 반환됩니다.

헤더

xi-api-keystring선택 사항

요청

This endpoint expects an object.
agent_idstring or null선택 사항
labelstring or null선택 사항
inbound_trunk_configobject or null선택 사항
outbound_trunk_configobject or null선택 사항
livekit_stackenum or null선택 사항기본값 standard
허용된 값:
store_sip_messagesboolean or null선택 사항
environmentstring or null선택 사항

이 번호로의 통화에서 환경 변수를 확인하는 데 사용할 환경입니다.

branch_idstring or null선택 사항

이 번호로의 통화에 사용할 에이전트 브랜치입니다.

응답

성공 응답

twilioobject
OR
exotelobject
OR
sip_trunkobject

오류

422
Unprocessable Entity Error