/v1/workspaces/{workspace_id}/domains/{domain_id}AuthDelete a domain (must have no active mailboxes left).
Permanently deletes the domain, its DNS record set and its Amazon SES sending identity. Mailboxes you already deleted on it are erased with it, together with the mail they still held and its stored files; this cannot be undone. Refused with 409 `DOMAIN_HAS_MAILBOXES` while any mailbox on it is active.
Path parameters
workspace_id*string · uuidId of the workspace.
domain_id*string · uuidId of the domain.
Response · 204
Domain deleted, with its deleted mailboxes and their remaining mail.
Example
Request
DELETE https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/domains/{domain_id}
Authorization: Bearer YOUR_TOKEN