> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequenzy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Discard Sequence Email Variation

> Discard a design variation of a sequence email

Discards a variation of a sequence email. It is no longer listed, and the email does not change.

## Request

<ParamField path="sequenceId" type="string" required>
  Sequence ID.
</ParamField>

<ParamField path="emailId" type="string" required>
  The email's ID: the `emailId` of its step from [Get Sequence](./get).
</ParamField>

<ParamField path="variationId" type="string" required>
  Variation ID.
</ParamField>

```bash theme={null}
curl -X DELETE "https://api.sequenzy.com/api/v1/sequences/seq_abc123/emails/email_abc123/variations/evar_9xk2" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "discarded": true
  }
  ```

  ```json 401 theme={null}
  {
    "error": "Invalid API key"
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Variation not found"
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.