Skip to main content

UpdateTrafficSplitPolicy

PATCH 

/v1/customers/:customer_id/policy/traffic-split-policies/{traffic_split_policy.id}

UpdateTrafficSplitPolicy updates mutable traffic split policy fields. Omitted/empty scalar string fields leave the existing value untouched. A KEY policy stays on its client: a change to or from KEY scope, or to another key, returns INVALID_ARGUMENT. The owner of a key can update its KEY policy without project_id. The policy id must be set inside the traffic_split_policy field. On a project route (project_id set) the stored and any new target must be that project or a key in it; a tag target is organization-owned.

Request​

Responses​

Success