Domains

Remove a domain

Requires scope: manage. Agents with addresses on this domain stop sending: every send from them is refused with 422 domain_not_verified until the domain is added and verified again, or the agent is recreated on your workspace's mails.ai subdomain. It is never sent from another domain instead.

delete/v1/domains/{id}

Request

  • Base URL: https://api.mails.ai
  • URL: https://api.mails.ai/v1/domains/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Domain id (dom_…).

Response

Deletion confirmation.

idstring required

Id of the removed domain (dom_…): the id in the path.

deletedboolean required

Always true. A domain that is not in this workspace answers 404 instead.

Changes

No recorded changes to this operation across all 1 revision of this API.