Beta. The routing rules endpoints are new and their response shapes may
still change.
owner or manager role on the rule’s domain. Viewers get 403 forbidden.
Programmatic (API key) access requires the Pro plan and above — requests
from Starter accounts return
403 plan_upgrade_required.Request
Headers
Path Parameters
Body Parameters
All fields are optional. Send only the ones you want to change.
Each field follows the same rules as Create Routing Rule, including the source path patterns and target checks. You can’t move a rule to a different domain; create a new rule on the other domain instead. The domain comes from the URL, so leave
domainId out of the body (sending a different one returns 400).
Changing the rule type
When you changeruleType, the rule’s target is checked again against the new type, and the status code is reset: