Update phone number

Update assigned agent of a phone number

パスパラメータ

phone_number_idstring必須
The phone number ID. This is returned when a phone number is imported.

ヘッダー

xi-api-keystringオプション

リクエスト

This endpoint expects an object.
agent_idstringオプション
labelstringオプション
inbound_trunk_configobjectオプション
outbound_trunk_configobjectオプション
livekit_stackenumオプションデフォルト値 standard
許可された値:
store_sip_messagesbooleanオプション
environmentstringオプション
Environment to use for resolving environment variables on calls to this number.
branch_idstringオプション
Agent branch to use for calls to this number.

レスポンス

Successful Response
twilioobject
OR
exotelobject
OR
sip_trunkobject

エラー

422
Phone Numbers Update Request Unprocessable Entity Error