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