Skip to main content

SetTrafficSplitPolicyStatus

POST 

/v1/customers/:customer_id/projects/:project_id/policy/traffic-split-policies/:id/status

SetTrafficSplitPolicyStatus toggles a traffic split policy's active/inactive state (is_active). The owner of a key can set the status of its KEY policy without project_id. On a project route (project_id set) the policy's target must be that project or a key in it; a tag target is organization-owned.

Request​

Responses​

Success