---
title: "Delete a form A/B setup"
method: DELETE
path: "/form-ab-setups/{abSetupID}"
tags: ["Form A/B Setups"]
---

# Delete a form A/B setup

`DELETE /form-ab-setups/{abSetupID}`

## Request

- Base URL: `https://api.omnisend.com/api`
- URL: `https://api.omnisend.com/api/form-ab-setups/{abSetupID}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://app.omnisend.com/oauth2/token` scopes: `forms.write`
  - API key in header `Authorization`

Delete a single form A/B setup by ID. Only draft form A/B setups can be deleted; enabled or completed setups cannot.
Deleting a non-existent form A/B setup succeeds (idempotent).

**Scopes:**
`forms.write`

**Rate Limiting:**
This endpoint is rate limited to 400 requests per minute.

## Path parameters

- `abSetupID` string, required

## Headers

- `Omnisend-Version` string, required

## Response `204`

Form A/B setup deleted

## Other responses

- `400`: Request contains invalid or missing fields
- `401`: Authentication is missing or invalid
- `403`: Insufficient permissions for this operation
- `409`: Form A/B setup is not a draft
- `410`: API version has been retired
- `429`: Rate limit exceeded
- `500`: Unexpected error occurred

---

[API](https://skmtc.dev/omnisend/apis/forms-api.md) - [All operations](https://skmtc.dev/omnisend/apis/forms-api/llms.txt) - [OpenAPI document](https://skmtc.dev/omnisend/apis/forms-api/revisions/9b53556b2e97?raw)
