Skip to content

Delete Sequence Variant

Delete an A/B variant. The campaign must not be active.

DELETE/api/v1/campaigns/{campaign_id}/sequences/{sequence_id}/variants/{variant_id}

Requires an API key with the write scope.

When the step has two variants, deleting one also deletes the other: a step with a single variant goes back to its own subject and body. The call does not say which variants were removed; list the variants afterwards if you need to know.

Path Parameters#

campaign_idstringpathrequired
The campaign.
sequence_idstringpathrequired
The sequence step.
variant_idstringpathrequired
The variant.

Response#

dataobject
Show data
idstring
The variant you asked to delete.
deletedboolean
true.

Errors#

StatusDescription
401Missing, invalid, revoked or expired API key
403API key does not have the required scope: write
400The campaign is active (pause it first)
404Campaign, sequence step or variant not found in this workspace

Rate Limit#

  • 120 requests per minute, shared by every write call in your workspace. Fixed 60-second window.
  • Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (unix epoch seconds) and X-RateLimit-Bucket (write).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).

For client-side patterns (Retry-After, exponential backoff, monitoring X-RateLimit-Remaining), see Rate Limiting.

Was this page helpful?
View as MarkdownLast updated November 4, 2026