---
title: "Disable a custom tracking domain"
method: DELETE
path: "/v1/email/domains/{id}/custom-tracking"
tags: ["Email"]
---

# Disable a custom tracking domain

`DELETE /v1/email/domains/{id}/custom-tracking`

## Request

- Base URL: `https://api.samva.dev`
- URL: `https://api.samva.dev/v1/email/domains/{id}/custom-tracking`
- Auth: API key in header `x-api-key`

Disables a domain's custom tracking, removes its managed resources, and immediately returns sends to the shared tracking host. Existing custom links in already-delivered mail stop working.

## Path parameters

- `id` string, required

## Response `200`

SuccessResult

- SuccessResult
  - `success` boolean, required
  - `message` string, required

## Other responses

- `401`: UnauthorizedError
- `403`: ForbiddenError
- `404`: ResourceNotFoundError
- `409`: ConflictError
- `422`: ValidationError
- `500`: InternalError
- `502`: EmailChannelError
- `504`: GatewayTimeoutError

---

[API](https://skmtc.dev/samva/apis/samva-api.md) · [All operations](https://skmtc.dev/samva/apis/samva-api/llms.txt) · [OpenAPI document](https://skmtc.dev/samva/apis/samva-api/revisions/a99408542cc3?raw)
