Add an account's inbound block rule
POST {{baseUrl}}/phone/inbound_blocked/rules
Adds an account level block rule for inbound calls and messaging from a phone number. As a result, all extensions block calls and messages to the phone number.
Prerequisites: * Pro or a higher account with Zoom Phone license * Account owner or admin permissions
Scopes: phone:write:admin
Granular Scopes: phone:write:inbound_block_rule:admin
Rate Limit Label: LIGHT
Request Body
{"blocked_number"=>"<string>", "match_type"=>"SMS-shortCodes", "status"=>"active", "type"=>"block_for_other_reasons", "comment"=>"<string>", "country"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"id":"\u003cstring\u003e"}