Add an extension's inbound block rule
POST {{baseUrl}}/phone/extension/:extensionId/inbound_blocked/rules
Adds the given extension's block rule for inbound calls and messaging.
It adds the inbound block rule for the given Call Queue, Auto Receptionist, Shared Line Group, Common Area, Zoom Room or User.
Prerequisites:
- Pro or a higher account with Zoom Phone license
Scopes:
phone:write:admin
,
phone:write
Granular Scopes:
phone:write:extension_inbound_block_rule:admin
,
phone:write:extension_inbound_block_rule
Rate Limit Label
:
LIGHT
Request Body
{"blocked_number"=>"<string>", "match_type"=>"phoneNumber", "type"=>"block_for_other_reasons", "country"=>"<string>"}
HEADERS
| Key | Datatype | Required | Description |
| Content-Type
| string | | |
| Accept
| string | | |
RESPONSES
status: Created
{"id":"\u003cstring\u003e"}