await domain.mail.disable(); // the apex
await domain.mail.disable({ subdomain: "team" });domain.mail.disable() # the apex
domain.mail.disable(subdomain="team")Only what we posed
Nor is an ownership record, nor an old mail server. Removing a customer's own records while cleaning up ours would be the worst kind of helpful.
The signing key is kept
Recipients check signatures days later. Re-enabling must find the same key — so disabling keeps it, and the response says so.
Mailboxes stop receiving
The routing records go, so addresses on that host no longer arrive. The mailboxes themselves are not deleted — check hosts() for the count before disabling.
It is per host
Disabling a subdomain leaves the apex alone, and the other way round.
Re-enabling
enable() poses the records again with the same key. Nothing of what was sent becomes unverifiable.