Logo
Zoom Public API Documentation

Update directory backup routing rule

PATCH {{baseUrl}}/phone/routing_rules/:routingRuleId

Use this API to update directory backup routing rule. The directory backup routing rules are a series of predefined Regular Expressions. These rules are used to route outgoing calls. If a dialed number does not match a Zoom Phone user, and does not match a defined External Contact, these rules are tested next. If a dialed number does not match any rules, the call will be routed via the PSTN.

Scopes: phone:write:admin
Rate Limit Label: Light

Prerequisites: * A Business or Enterprise account * A Zoom Phone license

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status





Curl
curl -X PATCH 'https://api.zoom.us/v2/phone/routing_rules/:routingRuleId' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"name":"testRuleName","number_pattern":"testNumberPattern","order":2,"sip_group_id":"fd9f","translation":"/[1-9]/","type":"other_sites"}'

ENDPOINTS