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
/api/v1/tenants/{tid}/plans/{pid}/onboardingWhat 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
pid | path | string | required | |
X-CSRF-Token | header | string | optional | 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.
siteboolean requiredA website for the primary domain with www and a placeholder page; HTTPS once DNS points here
runtimestring requiredThe site's default runtime; must be in the plan
Allowed values:"static""php""aspnet"ftpboolean requiredOne FTP/SFTP account on the site root; needs site
dnsboolean requiredA zone from the template on the server's DNS
mailboolean requiredMail for the domain with DKIM, SPF and DMARC
mailboxstring requiredadmin@domain, or admin@ (+postmaster, webmaster, abuse) forwarded to the owner's email
Allowed values:"none""admin""forward"welcomeboolean requiredEmail the owner the set-password link and connection details
welcome_billingboolean optionalAlso 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
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required