Update a blocked list
PATCH
/phone/blocked_list/{blockedListId}
Phone Blocked List
Use this API to update information on the blocked list.
Prerequisites:
Scope:
phone:write:admin
Rate Limit Label:
Light
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'http://api.zoom.us/v2/phone/blocked_list/'
响应示例响应示例
204 - 示例 1
null
请求参数
Path 参数
blockedListId
string
必需
Body 参数multipart/form-data
block_type
enum<string>
可选
inbound
: Pass this value to prevent the blocked number or prefix from calling in to phone users.outbound
: Pass this value to prevent phone users from calling the blocked number or prefix.枚举值:
inboundoutbound
comment
string
可选
<= 255 字符
match_type
enum<string>
可选
phoneNumber
: Choose this option (Phone Number Match) if you want to block a specific phone number. Then, in the phone_number
field, provide the phone number along with the country code.prefix
: Choose this option (Prefix Match) if you want to block all numbers with a specific country code and area code. Next, in the phone_number
field, enter a country code as part of the prefix. For example, entering 1907 blocks numbers with country code 1 and area code 907.枚举值:
phoneNumberprefix
phone_number
string
可选
match_type
field. If you passed "prefix" as the value for the match_type
field, provide the prefix of the phone number here including the country code. For example, entering 1905 blocks numbers with country code 1 and area code 905.<= 50 字符
status
enum<string>
可选
active
: Keep the blocking active.inactive
: Disable the blocking.枚举值:
activeinactive