Skip to main content
Version: 2.0

Replace an alias's routing policy

PUT 

/v2/agent_aliases/:alias_key/policy

Atomically replace the alias's routing policy and stickiness configuration. Replacement is whole-object; partial merging is not supported.

Use this endpoint to flip canary weights, change tenant routing, etc. The change is atomic: in-flight sessions resolved before the change keep their resolved agent (resolution is once-at-creation).

Request

Responses

The alias with its updated policy.