- Remove Split Test Variant
Add Split Test Variant
Configure Split Test
Read Split Test
Write Split Test Variant
Remove Split Test Variant
Tool name: remove-newsletter-split-test-variant
Removes one test variant from the split test of a campaign and returns the remaining variants. The variant is its own email: removing it deletes that email with everything in it, and there is no undo. The last variant cannot be removed, and a test that has started refuses the change. Removing a variant redistributes the audience share evenly. Test settings are written through configure-newsletter-split-test. Nothing is sent.
Email ID of the variant to remove, as get-newsletter returns it in splitTestVariants
Input example
{ "campaignId": 1, "emailId": 1, "accountId": null }
Output example
{ "accountId": 0, "newsletterId": 0, "variants": [ { "emailId": 0, "label": "string", "name": "string", "subject": "string", "editorUrl": "string", "contentRevision": "string" } ], "variantCount": 0, "needsMoreVariants": true, "sharePerVariantPercent": 0, "testSizePercent": 0, "testDurationHours": 0, "winnerBy": "string", "hasStarted": true }