> ## 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.

# Remove Tracking Domain

> Remove the company tracking domain

Remove your company tracking domain. New emails use Sequenzy's shared tracking
domain.

<Warning>
  Links in emails you already sent through the removed domain stop working. To
  move to another tracking domain without breaking them, use [Set Tracking
  Domain](./set) instead and keep the old CNAME record.
</Warning>

Removing when no tracking domain is set succeeds with `removed: false`. The next
sending domain you add creates a new tracking domain on its root, as the first
one did.

Requires the `companies:manage` scope and owner or admin access.

## Request

```bash theme={null}
curl -X DELETE "https://api.sequenzy.com/api/v1/tracking-domain" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response fields

<ResponseField name="removed" type="boolean">
  `true` when a tracking domain was removed, `false` when none was set.
</ResponseField>

<ResponseField name="trackingDomain" type="null">
  Always `null`.
</ResponseField>

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

  ```json 403 theme={null}
  {
    "error": "You have view-only access to this company. Contact the owner to request edit permissions."
  }
  ```

  ```json 503 theme={null}
  {
    "error": "Cloudflare API request failed."
  }
  ```
</ResponseExample>

A `503` means the tracking provider could not release the hostname. The
tracking domain was kept, so you can retry.
