Domain purchases

Connect a purchased domain to an origin.

Provisions the domain on Domainee's edge and writes the DNS records at the registrar in one call. No manual DNS step, because Domainee controls both sides. The DNS write is a merge: it replaces only the routing records at the apex and www, and leaves MX, TXT, SPF, DKIM, DMARC, CAA and subdomain records in place.

post/v1/domain-purchases/{id}/connect

Request

  • Base URL: https://api.domainee.dev
  • URL: https://api.domainee.dev/v1/domain-purchases/{id}/connect
  • Auth: HTTP bearer

Request body

originUrlstring uri required
keepHostboolean

Response

The purchase.

Example response

{
  "purchase": {
    "hostname": "acme.com"
  }
}

Changes

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