---
title: "Delete a domain"
method: DELETE
path: "/v1/domains/{id}"
tags: ["Domains"]
---

# Delete a domain

`DELETE /v1/domains/{id}`

## Request

- Base URL: `https://smtpfa.st/api`
- URL: `https://smtpfa.st/api/v1/domains/{id}`
- Auth: HTTP bearer

Resend-compatible. Removes the domain and its sending identity at the provider. Mail from it stops at once. Requires the domain:write scope and an owner or admin.

## Path parameters

- `id` string, required

## Response `200`

Deleted

- object

## Other responses

- `401`: Invalid or missing API key
- `403`: Forbidden - domain not verified or insufficient permissions
- `404`: Resource not found
- `429`: Rate limit exceeded - retry after the period indicated in the Retry-After header
- `500`: Internal server error
- `502`: Error

---

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