Skip to main content

Update & Delete Routing Algorithm

Edit or remove a previously created routing algorithm — including A/B test experiments, which are stored the same way. Both operations only work on an inactive algorithm; deactivate it first with /routing/deactivate if it’s currently live.

Update

Rewrites the name, description, and algorithm definition in place — the rule_id doesn’t change.
algorithm accepts the same type values as /routing/createsingle, priority, volume_split, advanced, or ab_test.
Returns an error if the algorithm is currently active, or if created_by doesn’t own the algorithm.

Delete