Skip to main content
DELETE
/
api
/
v1
/
ab-tests
/
{abTestId}
Delete A/B Test
curl --request DELETE \
  --url https://api.sequenzy.com/api/v1/ab-tests/{abTestId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}
Delete a campaign A/B test and all of its variants. Running tests (testing or winner_selected) cannot be deleted, and the linked campaign must be in draft or rejected status. This action cannot be undone.

Request

abTestId
string
required
A/B test ID.
curl -X DELETE "https://api.sequenzy.com/api/v1/ab-tests/ab_abc123" \
  -H "Authorization: Bearer YOUR_API_KEY"

Responses

{
  "success": true
}