API referenceSections

What the plan sets up for accounts made from now on

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

PUT /api/v1/tenants/{tid}/plans/{pid}/onboarding

What the plan sets up for accounts made from now on (ADR 0059); not a revision

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
pidpathstringrequired
X-CSRF-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

Request body

required

Content type: application/json

What a plan sets up when an account is made (ADR 0059). A plan without settings sends only the welcome email.

  • site boolean required

    A website for the primary domain with www and a placeholder page; HTTPS once DNS points here

  • runtime string required

    The site's default runtime; must be in the plan

    Allowed values: "static" "php" "aspnet"
  • ftp boolean required

    One FTP/SFTP account on the site root; needs site

  • dns boolean required

    A zone from the template on the server's DNS

  • mail boolean required

    Mail for the domain with DKIM, SPF and DMARC

  • mailbox string required

    admin@domain, or admin@ (+postmaster, webmaster, abuse) forwarded to the owner's email

    Allowed values: "none" "admin" "forward"
  • welcome boolean required

    Email the owner the set-password link and connection details

  • welcome_billing boolean optional

    Also send the welcome email for accounts made through the provisioning API (default false: billing systems send their own)

Example
{
  "site": true,
  "runtime": "static",
  "ftp": true,
  "dns": true,
  "mail": true,
  "mailbox": "none",
  "welcome": true,
  "welcome_billing": true
}

Responses

200 Saved, cleaned

Content type: application/json

What a plan sets up when an account is made (ADR 0059). A plan without settings sends only the welcome email.

Fields of KitSettings are shown above.

Example
{
  "site": true,
  "runtime": "static",
  "ftp": true,
  "dns": true,
  "mail": true,
  "mailbox": "none",
  "welcome": true,
  "welcome_billing": true
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required