Retire the project's mail domain while the project stays active

Ends sending and receiving at once, removes the webhook, then removes the domain and its sending key from the mail provider and confirms their absence. DNS is not changed; dns_records lists the records to remove from the domain's DNS, including any that Cloudflare authorization added. Repeat the same idempotency key after an uncertain response. A later mail setup starts a new domain registration.

delete/v1/projects/{project_id}/environments/{environment_id}/mail-domain

Request

  • Base URL: https://app.ohmyho.st
  • URL: https://app.ohmyho.st/v1/projects/{project_id}/environments/{environment_id}/mail-domain
  • Auth: HTTP bearer

Path parameters

project_idstring required
environment_idstring required

Headers

X-Request-Idstring

Optional caller-provided correlation identifier.

Idempotency-Keystring required

Identifies one mutation and its canonical request payload.

Response

The mail domain is retired.

status'deleted' required
domainstring required

Changes

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