Skip to main content

CreateTrafficSplitPolicy

POST 

/v1/customers/:customer_id/policy/traffic-split-policies

CreateTrafficSplitPolicy creates a new traffic-split policy scoped to a key, tag selector, or project. A KEY policy is stored on the key's effective client, one per client: a second create returns ALREADY_EXISTS. The owner of a key can create its KEY policy without project_id. On a project route (project_id set) the target must be that project or a key in it; a tag target is organization-owned.

Request​

Responses​

Success