Delete Sequence Variant
Delete an A/B variant. The campaign must not be active.
DELETE
https://api.foxreach.io/ 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_idstringpathrequiredThe campaign.
sequence_idstringpathrequiredThe sequence step.
variant_idstringpathrequiredThe variant.
Response#
dataobjectShow data
idstringThe variant you asked to delete.
deletedbooleantrue.Errors#
| Status | Description |
|---|---|
401 | Missing, invalid, revoked or expired API key |
403 | API key does not have the required scope: write |
400 | The campaign is active (pause it first) |
404 | Campaign, sequence step or variant not found in this workspace |
Rate Limit#
- 120 requests per minute, shared by every
writecall in your workspace. Fixed 60-second window. - Every response includes
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset(unix epoch seconds) andX-RateLimit-Bucket(write). - A
429response includes aRetry-Afterheader (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