DELETE
DELETE /domains/{domain_id} — Resend API
Resend APIRemove an existing domain
- Base URL
- https://api.resend.com
- Auth
- Authorization: Bearer <RESEND_API_KEY>
- Last verified
- 2026-10-20 · upstream hash matched
Actions Try in browser→
Agents: curl -H "Accept: text/markdown" this URL
→ 141 tokens · Vary: Accept
→ 141 tokens · Vary: Accept
Critical gotchas
All requests must include a User-Agent header (e.g. User-Agent: my-app/1.0) or the API returns HTTP 403.
cURL
curl -X DELETE 'https://api.resend.com/domains/domain-id' \ -H "Authorization: Bearer $RESEND_API_KEY" \ -H 'User-Agent: my-app/1.0'
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| domain_id | path | string | Yes | The ID of the domain. |
Response 200 OK
{
"object": "domain",
"id": "d91cd9bd-1176-453e-8fc1-35364d380206",
"deleted": true
} Get a free Resend API key → sponsored Affiliate link - we may earn a commission, at no extra cost to you.