UpdateAttributeRoutingPolicy
PATCH/v1/customers/:customer_id/projects/:project_id/policy/attribute-routing-policies/{attribute_routing_policy.id}
UpdateAttributeRoutingPolicy applies a partial update. A present rules
field replaces the ENTIRE rule list: a rule carrying its id is updated in
place, a rule with no id is created, and a rule left out is deleted.
Omitting rules leaves the list untouched. Mode, status, scope_type,
target_api_key_id, and target_project_id are NOT settable here.
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