Skip to main content

Replace variations

PUT 

/projects/:project/experiments/:experiment/variations

Replaces the whole list of variations. Send only what you are testing: the Original is added in front for you. A variation sent with its id keeps the visitors already assigned to it; one sent without an id is new, and one left out is removed. On an A/B test each variation carries its page changes; on a split URL test, its url; an A/A check takes only allocation. On a running or paused test, send every variation with its id, in the same order, with the same split: you can still rename them, move the baseline and change allocation, but adding, removing or reordering a variation, or changing the split, is refused with a 422, because it would move visitors already in the test. Needs an editor or publisher key.

Request​

Responses​

The test as it is now.