---
title: "Remove Variant"
method: DELETE
path: "/v2/campaigns/{id}/audiences/{audience_id}/variants/{variant_id}"
tags: ["Campaigns V2"]
---

# Remove Variant

`DELETE /v2/campaigns/{id}/audiences/{audience_id}/variants/{variant_id}`

## Request

- Base URL: `https://api.superwall.com`
- URL: `https://api.superwall.com/v2/campaigns/{id}/audiences/{audience_id}/variants/{variant_id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `accounts_superwall_token`
  - HTTP bearer

Soft-deletes a variant from an audience. Requires campaigns:write scope.

## Path parameters

- `id` string, required
- `audience_id` string, required
- `variant_id` string, required

## Response `200`

Success

- object
  - `id` string, required
  - `object` 'variant', required: Object type, always `variant`
  - `deleted` true, required: Always true for deletion responses

## Other responses

- `400`: The request did not match the expected schema | The request was invalid or malformed
- `401`: No API key was provided in the request | The API key does not have a valid format | The API key is invalid or has been revoked | An error occurred while validating the API key | The session cookie is invalid or expired
- `403`: The API key does not have permission to perform this action
- `404`: The requested resource was not found
- `429`: Too many requests have been made in a short period
- `500`: A required post-operation side effect failed | An unexpected error occurred on the server

## Changes

- **2026-10-29** `778a11cd2c15`: 4 warning, 4 info
  - added the new `credentials_missing` enum value to the `anyOf[subschema #2]/code` response property for the response status `400`
  - added the new `credentials_missing` enum value to the `code/anyOf[subschema #1]/` response property for the response status `403`
  - added the new `credentials_missing` enum value to the `code/anyOf[subschema #1]/` response property for the response status `404`
  - added the new `credentials_missing` enum value to the `code/anyOf[subschema #1]/` response property for the response status `429`
  - …4 more
- **2026-09-09** `217c96dc9a29`: 15 breaking, 96 info
  - the `code` response's property type changed from `string` to no type for status `403`
  - the `code` response's property type changed from `string` to no type for status `404`
  - the `code` response's property type changed from `string` to no type for status `429`
  - the `doc_url` response's property type changed from `string` to no type for status `403`
  - …107 more
  - …this revision’s changelog is incomplete

[Operation history](https://skmtc.dev/superwall/apis/superwall-api-v2/changes/v2/campaigns/:id/audiences/:audience_id/variants/:variant_id/delete.md)

---

[API](https://skmtc.dev/superwall/apis/superwall-api-v2.md) - [All operations](https://skmtc.dev/superwall/apis/superwall-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/superwall/apis/superwall-api-v2/revisions/523b4734dfab?raw)
