Skip to main content

UpdateTrafficSettings

POST 

/v1/customers/:customer_id/projects/:project_id/aikeys:traffic

UpdateTrafficSettings rewrites the placement of keys in one provider's BYOK pool -- the load-balance weights, the failover order, and the pool-wide usage preference.

Only rows the caller OWNS are writable: a shared project key another member registered is returned by GetTrafficSettings (it serves the caller's traffic) but naming it here is rejected rather than silently dropped. Rows the request does not name keep their current placement.

Scope: account-tier; membership is enforced in-handler, and rewriting a PROJECT-level (shared) key additionally requires project ownership -- the same split Register and Revoke apply.

Request

Responses

Success