CreateAttributeRoutingPolicy
POST/v1/customers/:customer_id/projects/:project_id/policy/attribute-routing-policies
CreateAttributeRoutingPolicy creates an ordered rule list bound to a project or a key. The created policy is always in MONITOR mode: nothing moves traffic until SetAttributeRoutingPolicyMode flips it.
KNOWN LIMITATION. A destination is checked against the target project's catalog at save time, which is early feedback rather than a guarantee. Availability for a given key also depends on the provider, the project's provider filter, the key's own route map and the gateway binding, all of which are resolved when the routing snapshot is rendered. A rule can therefore save cleanly and still never fire, because the destination was dropped at render time.
Request
Responses
- 200
Success