Skip to main content
DELETE
Delete A/B Test Variant
Remove a variant from a draft campaign or sequence A/B test. Variant A is the control and cannot be deleted, and a test must keep at least 2 variants. Deleting a sequence variant also deletes its dedicated email template; when the parent sequence is active, pass confirmLiveChange=true because the deletion immediately changes the live rotation.

Request

abTestId
string
required
A/B test ID.
variantId
string
required
Variant ID to delete.
confirmLiveChange
boolean
Required as true when the A/B test belongs to an active sequence.

Responses