---
title: "Remove a domain"
method: DELETE
path: "/v1/projectId/{projectId}/domains/{domainId}"
tags: ["Domains"]
---

# Remove a domain

`DELETE /v1/projectId/{projectId}/domains/{domainId}`

## Request

- Base URL: `https://api.bluefox.email`
- URL: `https://api.bluefox.email/v1/projectId/{projectId}/domains/{domainId}`
- Auth: HTTP bearer

Fails while a sender identity still uses this domain/region.

## Path parameters

- `projectId` string, required
- `domainId` string, required

## Response `200`

Deleted

- object
  - `status` integer
  - `result` object
    - `_id` string

## Other responses

- `403`: Missing or invalid API key
- `404`: Domain not found
- `405`: The operation is blocked by a business rule (e.g. the resource is still in use)

---

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