Skip to main content
DELETE
/
v1
/
domains
/
{id}
Delete Domain
curl --request DELETE \
  --url https://api.unosend.co/v1/domains/{id} \
  --header 'Authorization: Bearer <token>'
id
string
required
The ID of the domain to delete.

Request

curl -X DELETE https://api.unosend.co/domains/dom_123 \
  -H "Authorization: Bearer un_xxxxxxxxxx"

Response

200
{
  "id": "dom_123",
  "deleted": true
}
Deleting a domain will prevent you from sending emails from that domain. This action cannot be undone.