Update split weights
Shift traffic between the variants, and decide which of them are in the cycle at all.
Send every variant in the split exactly once, along with the revision you read. A weight of 0 excludes that variant: it stays a member and stays testable, but takes no calls, and a live variant covers its leads until it is back. Any weight from 1 puts it back in, and the weights of the live variants must total 100.
To include or exclude a variant, set its weight here. There is no separate operation for it. A request that leaves out a variant is rejected.
The Primary Variant cannot be excluded: it is the campaign’s own agent and the fallback for every route. At least one variant must always be live.
Required API key scope: agents:write.
Authorizations
Path Parameters
Body
Replacement weights for every variant in the split.
Weights are replaced wholesale, not patched. Every variant in the split must appear exactly once, and the weights of the ones you keep live must total 100.
This is also how a variant is included in or excluded from the cycle. Send weight: 0 to exclude it. Send any weight from 1 to include it again. A request that leaves out a variant is refused. It does not exclude that variant.
