Websites - Protected

Protected Setup Domain

Kick off full domain setup (SSL via acme.sh + Nginx + CloudFront) in the background and return immediately.

The acme.sh DNS-01 issue waits ~60s for DNS propagation — longer than the browser will hold the request — so this returns {status: 'running'} right away and the BO polls GET /setup-status until 'done' or 'error'. The work itself is the same idempotent, self-healing state machine (see _do_domain_setup).

post/api/websites/{website_id}/setup-domain

Request

  • Base URL
    https://api.multigest.pt (the document declares no server; this is the origin it was published from)
  • URL
    https://api.multigest.pt/api/websites/{website_id}/setup-domain
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Path parameters

website_idinteger required

Headers

x-api-tokenstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 21 revisions of this API.