Routing Rules
Update a routing rule
Requires a Pro plan. Changes a rule's targetUrl, splitPercentage or active flag. Send only the fields to change; values of the wrong type are rejected with 400. splitPercentage only applies to AbTest rules, and the link's active A/B splits must still total 100 afterwards, so to change several splits at once, replace the rules with POST /urls/{code}/routing. Changes apply to new clicks immediately.
put/urls/{code}/routing/{ruleId}
Request
- Base URL: https://gajo.io/api/v1
- URL: https://gajo.io/api/v1/urls/{code}/routing/{ruleId}
- Auth: API key in header x-api-key
Request body
Response
The updated rule.
Changes
No recorded changes to this operation across all 1 revision of this API.