Delete Sending Domain
Domains
Delete Sending Domain
Tear down a sending domain across backing services and the database. Cascade-deletes every inbox on the domain.
DELETE
Delete Sending Domain
CLI:
Overview
Deletes the backing domain resource (best effort), removes the stored DKIM/SPF/DMARC records from managed DNS when available (best effort), and removes the DB row. This cascade-deletes every email sender account backed by the domain.This operation shares the URL path
/api/email/domains/{id} with the update verb. See Update a sending domain to override the cached status without tearing the domain down.AI agent notes
Cascade delete is real. Deleting a domain removes every
accounts row whose domain_id points at it. Agents should enumerate dependent inboxes (via listEmailAccounts) and confirm with the human before calling.External cleanup is best-effort. Backing-domain and managed-DNS deletes are fire-and-forget; failures are logged but do not block the DB delete. Both are idempotent on retry.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Email domain (email_domains.id) UUID.
Minimum string length:
1Response
Domain deleted. Dependent email accounts are cascade-removed from the DB. External cleanup is best-effort.
Available options:
true