Domains

How to remove a domain from Mailcandor

Short answer

To remove a domain from Mailcandor, open it under Domains, choose Delete domain and confirm, or call DELETE /v1/domains/{id} with a full-access key. You can no longer send from it, and API keys limited to that domain are deleted too. Emails already sent keep their history. The domain name is free to add again, to this team or another, at once.

Last checked 16 November 2026

Deleting a domain stops all sending from it. Do it when you no longer use a domain, when you want to move it to another team, or when you need to re-add it with a different return path.

What happens when you delete a domain

  • Sending stops at once. Any email with a from on that domain fails with 403 domain_not_found.
  • API keys limited to the domain are deleted. They could not send anywhere else. Keys not limited to a domain are not touched.
  • History is kept. Emails sent from it stay in Emails with their events.
  • The name is free. You or another team can add it again straight away.
  • It is recorded. The deletion appears in the Audit log as domain.deleted, and a domain.deleted webhook fires if you subscribe to it.

Emails already scheduled from the domain are not removed by the deletion. Cancel them first if they should not go out: see Scheduled emails.

Before you delete

  1. Check which keys are limited to the domain: open API keys and look at the Domain column.
  2. Make sure no app still sends from the domain, or switch it to another verified domain first.
  3. If you are re-adding the domain, have DNS access ready: you will publish new records.

To delete in the dashboard

You need the admin or developer role.

  1. Open Domains and select the domain.
  2. Choose Delete domain.
  3. Read the confirmation and choose Delete domain again.

You see “Domain deleted.” and return to the list.

To delete with the API

Use a full-access key:

curl -X DELETE https://api.mailcandor.com/v1/domains/DOMAIN_ID \
  -H "Authorization: Bearer $MAILCANDOR_KEY"

The answer is:

{ "object": "domain", "id": "DOMAIN_ID", "deleted": true }

Find the id with GET /v1/domains.

To move a domain to another team

  1. Delete it from the current team.
  2. On the other team, add it under Domains with New domain.
  3. Publish the new records shown there and press Check DNS now. Copy the DKIM values again; do not reuse the old ones.

After deleting

If you will not add the domain back, remove the Mailcandor records at your DNS provider: the three ._domainkey CNAMEs, the TXT and MX on send (or your custom return path), and the DMARC record if you added it only for Mailcandor. Keep DMARC if other services send as your domain.

If it does not work

  • No Delete domain button: your role is viewer or billing.
  • 404 not_found: the id is wrong, or the domain belongs to another team.
  • An app broke after the deletion: it used a key limited to the domain, which was deleted, or it sends from that domain. Create a new key or change its from.

Questions

Are my sent emails deleted with the domain?

No. Sent emails keep their history and events. Only sending from the domain stops.

Can I undo a domain deletion?

There is no undo. Add the domain again and publish its new DNS records. Domain-limited API keys that were deleted must be created again.

Should I remove the DNS records afterwards?

Yes, once you are sure you will not add the domain back. Leaving the DKIM, SPF and MX records on send does no harm, but tidy DNS is easier to reason about.

Related

Send with someone on your side.

Unlimited domains on every plan, a person before any block, and 3,000 emails a month free. Tell us what you send and we set you up within one business day.