API reference
617 operations in 34 sections and 328 schemas, generated from the panel's OpenAPI contract. Descriptions in the reference are in English.
Everything the panel's web interface and its command-line tool do goes through this HTTP API, so anything you can do in the panel you can script. The reference below is generated from the API contract (OpenAPI 3.1) that ships with the panel.
Base URL and versioning
Requests go to your own panel:
https://<your-panel-host>:8443/api/v1/...
8443 is the panel's default port (the LISTEN setting, 0.0.0.0:8443 unless you changed it at install). All routes are under /api/v1; there is no other API version. The contract's own version is shown at the top of this reference.
The contract is published two ways:
- on this site:
/api-docs/openapi.yaml - by every panel, without signing in:
GET /api/v1/openapi.yaml
Use either with any OpenAPI 3.1 tool to generate a client.
Authentication
There are two ways to authenticate.
Session cookie
The web interface signs in with POST /api/v1/auth/login (email and password). The answer sets the session cookie __Host-panel_session and returns a csrf_token. If the user's role requires two-step verification, the session must finish it (POST /api/v1/auth/mfa/verify or a passkey) before it can use resource routes; until then they answer 403 MFA_REQUIRED.
Sessions are meant for browsers and interactive tools. For scripts and integrations, use an API key.
API keys
Send the key as a bearer token:
Authorization: Bearer wp_...
- Creating a key. A signed-in member with the
apikey.managepermission creates keys in the panel or withPOST /api/v1/tenants/{tid}/api-keys(name,permissions,ttl_hoursfrom 1 to 8760). The answer contains the token once; the panel stores only its hash, so copy it then. - One tenant. A key belongs to the tenant it was made in. Used on another tenant's path, it gets
404 TENANT_NOT_FOUND. - Permissions are intersected. A key lists the permissions it may use, and you cannot give it more than you have (
403 ROLE_EXCEEDS_YOURS). On every request the key's permissions are intersected with its owner's current role, so a key never does more than its owner can do now. When the owner is disabled, their keys stop working. - Lifetime. Keys expire after the lifetime you chose (at most 365 days) and can be revoked at any time with
DELETE /api/v1/tenants/{tid}/api-keys/{id}. An expired, revoked or unknown key answers401 API_KEY_INVALID. - Two-step verification. If the owner's role requires two-step verification, only keys created from a session that passed it work, and only while the owner still has a second factor. Other keys answer
403 API_KEY_MFA_REQUIRED. - Session-only routes. Account management is never available to API keys: API keys themselves, sessions, impersonation and "log in as customer", two-step verification, password, MFA and admin-access policies, passkeys, SSO providers, disaster recovery, and the panel's address, certificate, Let's Encrypt and update settings. These need a signed-in session.
The contract marks routes that explicitly accept an API key with the apiKey scheme; resource routes outside the session-only list above accept a key too.
CSRF protection
Requests authenticated by the session cookie with any method other than GET or HEAD must send the session's CSRF token:
X-CSRF-Token: <csrf_token>
The token comes from the login answer or from GET /api/v1/session. A missing or wrong token answers 403 CSRF_INVALID.
API-key requests do not use the CSRF token: browsers never attach an Authorization header by themselves, so there is nothing to forge.
Requests
Request bodies are JSON: send Content-Type: application/json. Fields the operation does not define are rejected, as is a body that is not valid JSON for the operation (400 INVALID_BODY). JSON bodies are limited to 1 MiB; file uploads have their own routes.
Errors
Errors are JSON with the same five fields everywhere:
{
"code": "PERMISSION_DENIED",
"message": "You do not have permission for this action.",
"details_redacted": false,
"correlation_id": "01J...",
"retryable": false
}
| Field | Meaning |
|---|---|
code |
Stable, machine-readable error code. Program against this. |
message |
A sentence for people. It may change between releases. |
details_redacted |
true when the panel hid the details of an internal error. |
correlation_id |
The request's ID; every response also carries it in the X-Correlation-ID header. Quote it when you ask for support. |
retryable |
true when the same request may succeed later (always true for 429). |
The status code follows the kind of error:
| Status | When |
|---|---|
400 |
Invalid input |
401 |
Not signed in, or an invalid API key |
403 |
Not allowed (permission, CSRF, two-step verification, IP ban) |
404 |
Not found, including tenants you are not a member of |
409 |
Conflict with the current state |
412 / 428 |
If-Match revision mismatch / If-Match required |
422 |
Idempotency-Key reused for a different request |
429 |
Rate limited; see Retry-After |
500 |
Internal error: code is INTERNAL, details_redacted is true |
When an error carries a wait time, the response has a Retry-After header in seconds.
Long-running operations
Some changes wait for a job on a managed server.
- Operations (
operation). Routes such as mail, DNS zones and DNSSEC, FTP and Web Deploy settings, hardening, tuning, WAF, protected folders, file copy/extract/compress, permissions, WordPress discovery, malware actions, service control, backup deletes, quota apply, analytics, usage and permanent customer delete answer normally when they finish within 20 seconds. Otherwise they answer202with{"operation": {"id", "url", "state": "running"}}and aLocationheader, and the work continues. PollGET /api/v1/tenants/{tid}/operations/{oid}: whenstateisdone,statusandbodyare the answer the route would have given. Only the caller who sent the request can read the operation. It is kept for 30 minutes after it finishes, and not across a panel restart; if it is gone, read the resource again. - Pending jobs (
pending_job). Site settings changes and other queued work answer202with a body that includespending_job(id,kind,url) and aLocationheader. Follow it withGET /api/v1/tenants/{tid}/jobs/{id}(needsjob.read) until it issucceededorfailed.
Operations that can answer 202 are marked in this reference. The panel's CLI and web interface follow both by themselves.
Pagination
Most lists answer {"items": [...], "next_cursor": "..."}; each operation shows its exact shape. An empty next_cursor means there is nothing more.
There is no single paging scheme across the API. Most lists are short and come back whole, with next_cursor always empty. These lists page with limit (1 to 200) and cursor (the previous page's next_cursor):
| List | Without limit |
|---|---|
GET /api/v1/tenants/{tid}/sites |
the whole list |
GET /api/v1/tenants/{tid}/customers |
the whole list |
GET /api/v1/tenants/{tid}/projects |
the first 50 |
GET /api/v1/tenants/{tid}/provisioning/accounts, .../packages, .../resellers |
the first 50 |
GET /api/v1/tenants/{tid}/jobs, GET /api/v1/tenants/{tid}/jobs/{id}/events |
the first 50 |
GET /api/v1/tenants/{tid}/audit-events |
the first 50 |
GET /api/v1/tenants/{tid}/sites/{id}/waf/events |
see the operation |
A limit that is not a number from 1 up counts as 50, and values over 200 count as 200. On the sites list, a cursor the list did not give answers 400 INVALID_CURSOR; start again from the first page. Job and audit histories use a numeric position as their cursor. Treat every cursor as opaque and pass back exactly what you received.
Rate limits
- Provisioning API (
/api/v1/tenants/{tid}/provisioning/...): each caller (each API key, or each signed-in user) has a bucket of 120 requests that refills at 10 per second. Responses carryX-RateLimit-Limit: 120; past the limit the answer is429 RATE_LIMITEDwithRetry-After. - Sign-in and verification: failed attempts are counted over 15 minutes. Sign-in locks after 10 failures for one email from one address, 30 from one address, or 100 for one email; two-step codes after 10 failures per user. A locked attempt answers
429 TOO_MANY_ATTEMPTSwithRetry-After. Addresses that keep failing to sign in can be banned (403 IP_BANNED). - Other limits: the AI assistant (
429 ASSISTANT_RATE_LIMITED, retry after a minute), concurrent file uploads (429 UPLOADS_BUSY), and uptime checks run on demand (429 UPTIME_CHECK_TOO_SOON).
Other routes have no per-request rate limit. Always honour 429 and Retry-After.
Retries and concurrency
- Idempotency. Provisioning routes accept an
Idempotency-Keyheader. Repeating the same request with the same key within 24 hours replays the first answer (withIdempotent-Replayed: true); the same key with a different request answers422 IDEMPOTENCY_KEY_REUSED, and while the first request is still running a repeat answers409 IDEMPOTENCY_IN_PROGRESS(retryable). - Revisions. Routes that take
If-Matchreturn the current revision inETag; send it back inIf-Match. A stale value answers412 REVISION_MISMATCH, and a missing one428 IF_MATCH_REQUIRED.
Sections
Setup, health and recovery 9
| POST | /api/v1/bootstrap | Create the first admin with the one-time setup token |
| POST | /api/v1/local/enrollment-tokens | A one-time enrollment token for the panel's own machine, for `zopanel-setup install -roles agent` there (ADR 0114). Same rules as recovery-links: loopback, no proxy headers, the X-Zopanel-Recovery secret; anything else is 404. Made for the provider's first administrator; 409 PANEL_NOT_SET_UP before the first admin exists |
| POST | /api/v1/local/ip-unban | Lift IP bans for `zopanel-setup unban` (ADR 0066). Same rules as recovery-links: loopback, no proxy headers, the X-Zopanel-Recovery secret; anything else is 404 |
| POST | /api/v1/local/recovery-links | Make a recovery link (ADR 0057). Only from loopback, without proxy headers, and with the X-Zopanel-Recovery secret the service writes to its Administrators-only data folder; anything else is 404 |
| GET | /api/v1/openapi.yaml | This API contract, read-only (ADR 0055) |
| GET | /api/v1/release | The version and channel the panel runs; null in a development build |
| POST | /api/v1/setup-hint | Check the one-time setup token and get the email given to the installer (ADR 0057); only for the token's holder and only until the first admin exists. Wrong tokens count against the setup rate limit |
| GET | /api/v1/setup-status | Whether the first administrator has been created |
| GET | /healthz |
Authentication and sessions 25
| POST | /api/v1/auth/login | |
| GET | /api/v1/auth/login-link/{token} | A page that asks to continue; it does not use the link, so link previews cannot spend it (ADR 0055) |
| POST | /api/v1/auth/login-link/{token} | Use a one-time sign-in link once (ADR 0055) |
| POST | /api/v1/auth/logout | |
| POST | /api/v1/auth/mfa/confirm | Turn MFA on; returns recovery codes once and rotates the session cookie |
| POST | /api/v1/auth/mfa/disable | Turn the authenticator app off (ADR 0054); needs the password and a current or recovery code. Refused with MFA_REQUIRED_BY_POLICY when the provider requires two-step verification and the user has no passkey |
| POST | /api/v1/auth/mfa/enroll | Re-check the password and start TOTP enrollment |
| POST | /api/v1/auth/mfa/verify | Complete sign-in with a TOTP or recovery code; rotates the session cookie |
| GET | /api/v1/auth/oidc/callback | |
| GET | /api/v1/auth/oidc/{id}/start | |
| POST | /api/v1/auth/passkey/login/begin | Options for a sign-in with no password |
| POST | /api/v1/auth/passkey/login/finish | Finish a passkey sign-in; cookie set |
| POST | /api/v1/auth/passkey/register/begin | Re-check the password and start registration |
| POST | /api/v1/auth/passkey/register/finish | Store the new passkey |
| POST | /api/v1/auth/passkey/verify/begin | Options for using a passkey after a password |
| POST | /api/v1/auth/passkey/verify/finish | Complete MFA with a passkey; rotates the session cookie |
| POST | /api/v1/auth/password | Change your own password (ADR 0057). The current password is needed except in a session from a recovery link; every other session ends and a new one is set |
| POST | /api/v1/auth/recovery | Sign in with a one-time link from `zopanel-setup admin-login` (ADR 0057); two-step verification still applies, and the session must set a new password |
| GET | /api/v1/me/permissions | |
| GET | /api/v1/passkeys | |
| DELETE | /api/v1/passkeys/{id} | |
| GET | /api/v1/password-policy | The password rules of every scope, for forms and the password generator; any signed-in user |
| GET | /api/v1/session | |
| GET | /api/v1/sessions | |
| DELETE | /api/v1/sessions/{id} |
API keys 3
| GET | /api/v1/tenants/{tid}/api-keys | |
| POST | /api/v1/tenants/{tid}/api-keys | |
| DELETE | /api/v1/tenants/{tid}/api-keys/{id} |
Tenants, members and roles 13
| POST | /api/v1/invitations/accept | |
| GET | /api/v1/tenants | |
| POST | /api/v1/tenants | |
| GET | /api/v1/tenants/{tid}/child-tenants | Plain tenants directly below this one, made with POST /tenants rather than as a customer or reseller, with what each still holds |
| DELETE | /api/v1/tenants/{tid}/child-tenants/{cid} | Delete an empty plain child tenant for good (ADR 0130 rules; R7 open issue 11) |
| GET | /api/v1/tenants/{tid}/detached-users | Users who belong to no account, for the provider's administrators (ADR 0130) |
| POST | /api/v1/tenants/{tid}/impersonations | Act as a tenant member for a limited time; POST /auth/logout ends it |
| POST | /api/v1/tenants/{tid}/invitations | |
| GET | /api/v1/tenants/{tid}/members | |
| DELETE | /api/v1/tenants/{tid}/members/{uid} | |
| POST | /api/v1/tenants/{tid}/members/{uid}/disable | Disable an account everywhere; root tenant only |
| GET | /api/v1/tenants/{tid}/roles | Roles the caller could grant |
| DELETE | /api/v1/tenants/{tid}/users/{uid} | Delete a user for good: sessions, API keys, MFA, passkeys, every membership (ADR 0130) |
Account security and SSO 15
| GET | /api/v1/tenants/{tid}/oidc-providers | |
| POST | /api/v1/tenants/{tid}/oidc-providers | |
| DELETE | /api/v1/tenants/{tid}/oidc-providers/{id} | |
| GET | /api/v1/tenants/{tid}/security | Security checks of the servers and sites the caller may see, with a score (ADR 0022) |
| GET | /api/v1/tenants/{tid}/security/admin-access | Addresses provider administrators may work from (ADR 0065); provider administrators on the root tenant only |
| PUT | /api/v1/tenants/{tid}/security/admin-access | Replace the list. One that leaves out the caller's own address is refused (409 ADMIN_ACCESS_LOCKOUT) unless confirm_lockout; audited |
| GET | /api/v1/tenants/{tid}/security/ip-bans | Automatic IP bans (ADR 0066): current and recent bans, never-ban list, policy, and each server's firewall and log readers; provider administrators on the root tenant only |
| PUT | /api/v1/tenants/{tid}/security/ip-bans/allow | Replace the addresses never banned; bans they cover are lifted; audited |
| GET | /api/v1/tenants/{tid}/security/ip-bans/events | Failed sign-ins, newest first, kept seven days |
| PUT | /api/v1/tenants/{tid}/security/ip-bans/policy | Set when each source bans; audited |
| DELETE | /api/v1/tenants/{tid}/security/ip-bans/{ip} | Lift a ban now and forget the address's failures; audited |
| GET | /api/v1/tenants/{tid}/security/mfa-policy | Whether admins and resellers must use two-step verification (ADR 0054); provider administrators on the root tenant only |
| PUT | /api/v1/tenants/{tid}/security/mfa-policy | Require or relax two-step verification for admins and resellers; audited |
| GET | /api/v1/tenants/{tid}/security/password-policy | Password and session policy (ADR 0112); provider administrators on the root tenant only |
| PUT | /api/v1/tenants/{tid}/security/password-policy | Change the password and session policy; audited with before and after |
Customers 22
| GET | /api/v1/tenants/{tid}/account-kit | How far this account's provisioning kit got (ADR 0059) |
| POST | /api/v1/tenants/{tid}/account-kit/retry | Try every waiting or failed step again now |
| POST | /api/v1/tenants/{tid}/account-kit/secrets/{name} | Show a password the kit made, once; it is removed afterwards |
| GET | /api/v1/tenants/{tid}/account-kit/templates | The welcome email templates of this seller, vi and en |
| PUT | /api/v1/tenants/{tid}/account-kit/templates/{lang} | Save a welcome template after trying it; empty subject and body restore the default |
| GET | /api/v1/tenants/{tid}/customers | Customers with their subscription, limits and usage, oldest first; all of them, or a page when limit is given (ADR 0189) |
| POST | /api/v1/tenants/{tid}/customers | Create a customer tenant on a plan and one of this tenant's servers |
| DELETE | /api/v1/tenants/{tid}/customers/{cid} 202 | End a customer of this seller, made in the panel or by billing: suspended, websites, databases, mail, caches and DNS zones removed by jobs in the background, backups kept the days asked for (ADR 0104, 0131) |
| GET | /api/v1/tenants/{tid}/customers/{cid}/ending | How far a customer's end got (ADR 0131) |
| POST | /api/v1/tenants/{tid}/customers/{cid}/login-as | Log in as the customer's owner, from its provider or reseller, with a reason, for 5 to 60 minutes (ADR 0086) |
| DELETE | /api/v1/tenants/{tid}/customers/{cid}/permanent 202 | Delete an ended customer of this seller for good (ADR 0130) |
| GET | /api/v1/tenants/{tid}/customers/{cid}/quota | A customer's standing against its limits, for its seller |
| POST | /api/v1/tenants/{tid}/customers/{cid}/quota/apply | Apply the customer's disk quota on its server now (FSRM, or the panel when FSRM cannot be used) and judge it |
| PUT | /api/v1/tenants/{tid}/customers/{cid}/subscription | Apply a subscription change (plan, revision, state, expiry, overrides) |
| POST | /api/v1/tenants/{tid}/customers/{cid}/subscription/preview | Show a subscription change and the limits the customer would be past, without applying it |
| POST | /api/v1/tenants/{tid}/customers/{cid}/suspend | Suspend a customer of this seller; its sites show the suspension page (ADR 0071, 0104) |
| POST | /api/v1/tenants/{tid}/customers/{cid}/transfer | Move a customer to another reseller or to the provider, inside the new owner's allocation (ADR 0087) |
| POST | /api/v1/tenants/{tid}/customers/{cid}/unsuspend | Resume a customer of this seller (ADR 0104) |
| GET | /api/v1/tenants/{tid}/ended-customers | The seller's ended customers, with what each still has (ADR 0130) |
| GET | /api/v1/tenants/{tid}/quota | This account's standing against its disk and bandwidth limits (ADR 0070) |
| POST | /api/v1/tenants/{tid}/quota/check | Judge every customer of this seller against its limits now (notices, suspension, resume) |
| GET | /api/v1/tenants/{tid}/transfer-targets | The provider and its active resellers, with their plans, a customer can be moved to (ADR 0087) |
Plans and subscriptions 7
| GET | /api/v1/tenants/{tid}/plans | Hosting plans of this provider or reseller (ADR 0028) |
| POST | /api/v1/tenants/{tid}/plans | Create a plan at revision 1 |
| PUT | /api/v1/tenants/{tid}/plans/{pid} | New limits become the plan's next revision; customers keep theirs until applied |
| DELETE | /api/v1/tenants/{tid}/plans/{pid} | Archive the plan so it is not given to new customers |
| PUT | /api/v1/tenants/{tid}/plans/{pid}/onboarding | What the plan sets up for accounts made from now on (ADR 0059); not a revision |
| DELETE | /api/v1/tenants/{tid}/plans/{pid}/permanent | Delete an archived plan for good, once no subscription names it (ADR 0130) |
| GET | /api/v1/tenants/{tid}/subscription | This tenant's own plan limits, usage and server |
Provisioning (billing integration) 31
| GET | /api/v1/tenants/{tid}/provisioning/accounts | List accounts, a page at a time |
| GET | /api/v1/tenants/{tid}/provisioning/accounts/{ref} | An account by its reference (ADR 0051) |
| PUT | /api/v1/tenants/{tid}/provisioning/accounts/{ref} | Make the account for this reference, or update it; a retry makes nothing new |
| PATCH | /api/v1/tenants/{tid}/provisioning/accounts/{ref} | Change the name, owner email or expiry |
| DELETE | /api/v1/tenants/{tid}/provisioning/accounts/{ref} 202 | Terminate the account; its websites, databases, mail, caches and DNS zones are removed the usual way (ADR 0104), in the background (ADR 0131) |
| POST | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/login-link | A one-time sign-in link for the account owner (60 seconds, single use) |
| PUT | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/password | Replace the owner password; the owner sessions end |
| DELETE | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/permanent 202 | Delete a terminated account for good (ADR 0130) |
| PUT | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/plan | Move the account to a package or plan (its current revision) |
| POST | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/suspend | Suspend with a reason; its sites stop and nothing is removed |
| POST | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/unsuspend | Start the account again, whatever suspended it |
| GET | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/usage | What the account uses this month |
| GET | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/users | The account's people: its owner and the users added to it (ADR 0121) |
| POST | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/users | Add a user to the account with a role, or invite one (ADR 0121) |
| DELETE | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/users/{uid} | Take a user out of the account (ADR 0121) |
| PUT | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/users/{uid}/password | Replace an added user's password; their sessions end (ADR 0121) |
| GET | /api/v1/tenants/{tid}/provisioning/packages | List packages, archived included |
| GET | /api/v1/tenants/{tid}/provisioning/packages/{ref} | A package by its reference |
| PUT | /api/v1/tenants/{tid}/provisioning/packages/{ref} | Make the package, or change its name and limits; a retry changes nothing |
| DELETE | /api/v1/tenants/{tid}/provisioning/packages/{ref} | Archive the package; refused while accounts use it unless force=true; never removes accounts |
| DELETE | /api/v1/tenants/{tid}/provisioning/packages/{ref}/permanent | Delete an archived package and its plan for good, once no account has it (ADR 0130) |
| GET | /api/v1/tenants/{tid}/provisioning/resellers | List resellers (provider only) |
| GET | /api/v1/tenants/{tid}/provisioning/resellers/{ref} | A reseller with what its customers use together |
| PUT | /api/v1/tenants/{tid}/provisioning/resellers/{ref} | Make the reseller with its owner, or change its name and allocation |
| DELETE | /api/v1/tenants/{tid}/provisioning/resellers/{ref} 202 | Terminate the reseller; refused while it has accounts unless cascade=true. Runs in the background (ADR 0131) |
| POST | /api/v1/tenants/{tid}/provisioning/resellers/{ref}/login-link | A one-time sign-in link for the reseller owner |
| PUT | /api/v1/tenants/{tid}/provisioning/resellers/{ref}/password | Replace the reseller owner password |
| DELETE | /api/v1/tenants/{tid}/provisioning/resellers/{ref}/permanent 202 | Delete an ended reseller for good; with cascade=true its ended customers go first (ADR 0130) |
| POST | /api/v1/tenants/{tid}/provisioning/resellers/{ref}/suspend | Suspend the reseller and its running customers |
| POST | /api/v1/tenants/{tid}/provisioning/resellers/{ref}/unsuspend | Lift the reseller suspension and only the customer suspensions it caused |
| GET | /api/v1/tenants/{tid}/provisioning/servers | Servers the caller may place a customer on, with their load |
Sites 31
| GET | /api/v1/tenants/{tid}/deleted-sites | Deleted websites still kept (ADR 0127) |
| DELETE | /api/v1/tenants/{tid}/deleted-sites/{id} 202 | Remove a deleted website for good now (server.manage), typing its name |
| POST | /api/v1/tenants/{tid}/deleted-sites/{id}/restore 202 | Bring a deleted website back with its names and settings (ADR 0127) |
| GET | /api/v1/tenants/{tid}/projects | |
| POST | /api/v1/tenants/{tid}/projects | |
| GET | /api/v1/tenants/{tid}/projects/{pid} | |
| PATCH | /api/v1/tenants/{tid}/projects/{pid} | |
| DELETE | /api/v1/tenants/{tid}/projects/{pid} | |
| GET | /api/v1/tenants/{tid}/site-moves | Site moves between servers (ADR 0097) |
| GET | /api/v1/tenants/{tid}/site-moves/{mid} | One move |
| POST | /api/v1/tenants/{tid}/site-moves/{mid}/actions/{action} 202 | switch (final sync, then serve from the new server), finalize (remove from the old one), rollback, retry. MOVE_STATE when not possible now |
| GET | /api/v1/tenants/{tid}/site-retention | How many days the provider keeps deleted websites (server.manage) |
| PUT | /api/v1/tenants/{tid}/site-retention | Change it (server.manage); websites already deleted keep their date |
| GET | /api/v1/tenants/{tid}/sites | The tenant's sites by hostname; all of them, or a page when limit is given (ADR 0189) |
| POST | /api/v1/tenants/{tid}/sites | Queue a new site; a hostname exists once per server |
| GET | /api/v1/tenants/{tid}/sites/{id} | One site as the list shows it; the site page follows it without the whole list (R29) |
| DELETE | /api/v1/tenants/{tid}/sites/{id} | Remove the site from IIS; its folder and logs are kept for the provider's retention and the site can be restored until then (ADR 0127) |
| GET | /api/v1/tenants/{tid}/sites/{id}/aliases | The site's other names (ADR 0031) |
| POST | /api/v1/tenants/{tid}/sites/{id}/aliases | Add a name to prove; IIS answers to it only once proven |
| DELETE | /api/v1/tenants/{tid}/sites/{id}/aliases/{host} | Stop answering to the name and forget it |
| POST | /api/v1/tenants/{tid}/sites/{id}/aliases/{host}/verify | Check the alias's TXT record, or with a reason record the provider's word; then IIS answers to it |
| GET | /api/v1/tenants/{tid}/sites/{id}/analytics | Visits summarized from the site's IIS logs on its server (ADR 0023) |
| GET | /api/v1/tenants/{tid}/sites/{id}/limits | The site's caps and where they come from (ADR 0091) |
| PUT | /api/v1/tenants/{tid}/sites/{id}/limits 202 | Cap the CPU share and memory of the site's pool (ADR 0036) |
| GET | /api/v1/tenants/{tid}/sites/{id}/logs | A redacted page of a site's IIS log; whoever may read the site's files (ADR 0077) |
| POST | /api/v1/tenants/{tid}/sites/{id}/move 202 | Move a site, with its MariaDB databases, to another server; it serves from the old one until the switch. Needs site.write, database.write and server.manage. MOVE_* codes, SERVER_MAINTENANCE, PLACEMENT_SERVER |
| GET | /api/v1/tenants/{tid}/sites/{id}/resource-usage | The site's caps, minutes at them and automatic actions, last 24 hours and 7 days (ADR 0126) |
| GET | /api/v1/tenants/{tid}/sites/{id}/settings-options | What the IIS, PHP and pool settings offer for this site and user (ADR 0061, 0062) |
| POST | /api/v1/tenants/{tid}/sites/{id}/verify | Check the site's TXT record to prove the hostname belongs to this tenant |
| POST | /api/v1/tenants/{tid}/sites/{id}/verify-override | Record ownership without DNS; needs a separate permission and a reason |
| POST | /api/v1/tenants/{tid}/sources | Take a zip, or download one from an https link, and tell what it holds (ADR 0025) |
Site runtimes and application pools 45
| GET | /api/v1/tenants/{tid}/sites/{id}/apps | Joomla, Drupal, PrestaShop and OpenCart for this site, and the one installed (ADR 0178) |
| POST | /api/v1/tenants/{tid}/sites/{id}/apps 202 | Install an application into an empty PHP site with its own database; the admin password is shown once |
| DELETE | /api/v1/tenants/{tid}/sites/{id}/apps 202 | Remove the application, its files, its database and account; the placeholder page comes back |
| PUT | /api/v1/tenants/{tid}/sites/{id}/aspnet 202 | Turn ASP.NET 4.x on or off for the site |
| PUT | /api/v1/tenants/{tid}/sites/{id}/aspnet-settings 202 | Apply the site's ASP.NET settings (ADR 0090) |
| PUT | /api/v1/tenants/{tid}/sites/{id}/classic-asp 202 | Turn Classic ASP on or off for the site |
| GET | /api/v1/tenants/{tid}/sites/{id}/container | The site's Windows container, or what the server and plan offer for one (ADR 0162) |
| PUT | /api/v1/tenants/{tid}/sites/{id}/container 202 | Create or change the site's container and deploy it as a new release; the running version stays until the new one answers its health check |
| DELETE | /api/v1/tenants/{tid}/sites/{id}/container | Remove the site's container; the data folders stay in the site's folder |
| POST | /api/v1/tenants/{tid}/sites/{id}/container/compose 202 | Translate a docker-compose.yml for the site (ADR 0191); with apply, make it the site's manifest and deploy it (ADR 0192). Unsafe or unsupported keys are refused with their path (COMPOSE_UNSAFE, COMPOSE_UNSUPPORTED, COMPOSE_BUILD_UNSUPPORTED, COMPOSE_PORTS, COMPOSE_VARIABLE_UNSET, COMPOSE_LINUX_IMAGE, COMPOSE_INVALID) |
| POST | /api/v1/tenants/{tid}/sites/{id}/container/deploy 202 | Deploy another version of the same image (a tag or a digest) as a new release |
| GET | /api/v1/tenants/{tid}/sites/{id}/container/logs | The end of the container's output (2000 lines) |
| GET | /api/v1/tenants/{tid}/sites/{id}/container/releases | The container's releases, newest first |
| POST | /api/v1/tenants/{tid}/sites/{id}/container/releases/{rid}/activate 202 | Go back to a release; its exact digest runs again. Data folders are not changed |
| POST | /api/v1/tenants/{tid}/sites/{id}/container/start 202 | Start the container; refused while the account is suspended |
| POST | /api/v1/tenants/{tid}/sites/{id}/container/stop 202 | Stop the container |
| POST | /api/v1/tenants/{tid}/sites/{id}/node 202 | Prepare a site to run a Node.js or ASP.NET Core application behind IIS |
| GET | /api/v1/tenants/{tid}/sites/{id}/node/env | The application's environment variables, without secret values |
| PUT | /api/v1/tenants/{tid}/sites/{id}/node/env | Replace the application's environment variables |
| GET | /api/v1/tenants/{tid}/sites/{id}/node/logs | The end of the application's log |
| GET | /api/v1/tenants/{tid}/sites/{id}/node/releases | Releases of the site's application, newest first |
| POST | /api/v1/tenants/{tid}/sites/{id}/node/releases 202 | Upload a zip of the built application and run it; the current version stays if it does not start |
| POST | /api/v1/tenants/{tid}/sites/{id}/node/releases/{rid}/activate 202 | Run a release that is already on the server. Application data is not changed |
| PUT | /api/v1/tenants/{tid}/sites/{id}/performance 202 | Apply the site's speed settings (ADR 0032) |
| PUT | /api/v1/tenants/{tid}/sites/{id}/php 202 | Choose the site's PHP branch; an empty version turns PHP off |
| GET | /api/v1/tenants/{tid}/sites/{id}/php-app | The site's PHP application recipe (Laravel, Symfony, Composer app) and its last jobs (ADR 0099) |
| PUT | /api/v1/tenants/{tid}/sites/{id}/php-app | Choose a recipe (empty removes it), the steps run after a Git deploy, and Laravel's scheduler |
| GET | /api/v1/tenants/{tid}/sites/{id}/php-app/env | The app's .env variables, without secret values |
| PUT | /api/v1/tenants/{tid}/sites/{id}/php-app/env | Replace the app's variables (sealed) and write them to .env; only for a recipe served from public/ |
| POST | /api/v1/tenants/{tid}/sites/{id}/php-app/run 202 | Run steps as the site, in order, stopping at the first failure; composer:install or the recipe's allowed commands |
| PUT | /api/v1/tenants/{tid}/sites/{id}/php-settings 202 | Apply the site's php.ini directives, extensions and FastCGI limits (ADR 0062) |
| PUT | /api/v1/tenants/{tid}/sites/{id}/pool 202 | Apply the settings of the site's application pool (ADR 0062) |
| POST | /api/v1/tenants/{tid}/sites/{id}/recycle 202 | Give the site a fresh worker; requests in flight finish first |
| GET | /api/v1/tenants/{tid}/sites/{id}/tune | The site's automatic tuning, its profile and history (ADR 0116) |
| POST | /api/v1/tenants/{tid}/sites/{id}/tune/apply | Probe the site and apply its profile now, checked and rolled back if the site answers differently |
| PUT | /api/v1/tenants/{tid}/sites/{id}/tune/policy | Follow the plan's tuning policy, or opt this site out (off reverts) |
| POST | /api/v1/tenants/{tid}/sites/{id}/tune/revert | Take back what the tuner applied |
| PUT | /api/v1/tenants/{tid}/sites/{id}/web 202 | Apply the site's IIS settings (ADR 0061) |
| GET | /api/v1/tenants/{tid}/sites/{id}/workers | A website's workers, long-running background processes such as Laravel queue workers (ADR 0177) |
| POST | /api/v1/tenants/{tid}/sites/{id}/workers | Add a worker; it runs as the website's own identity, supervised, within its caps |
| POST | /api/v1/tenants/{tid}/sites/{id}/workers/restart 202 | Start every worker's processes again, each after the job it holds |
| PUT | /api/v1/tenants/{tid}/sites/{id}/workers/{worker} | Change a worker; its processes start again |
| DELETE | /api/v1/tenants/{tid}/sites/{id}/workers/{worker} | Remove a worker; its processes stop after the job they hold |
| GET | /api/v1/tenants/{tid}/sites/{id}/workers/{worker}/log | The end of a worker's log, read from the server |
| POST | /api/v1/tenants/{tid}/sites/{id}/workers/{worker}/restart 202 | Start one worker's processes again |
Files, FTP and permissions 31
| GET | /api/v1/tenants/{tid}/sites/{id}/files | List a directory; links are shown and never followed |
| POST | /api/v1/tenants/{tid}/sites/{id}/files/access | Set what the site's code may do in a folder - read, write, or nothing (ADR 0034) |
| POST | /api/v1/tenants/{tid}/sites/{id}/files/compress | Zip entries of one folder; never replaces an existing file |
| GET | /api/v1/tenants/{tid}/sites/{id}/files/content | Download a file; always sent as an attachment |
| PUT | /api/v1/tenants/{tid}/sites/{id}/files/content | Upload a file; it appears complete or not at all |
| POST | /api/v1/tenants/{tid}/sites/{id}/files/copy | Copy a file or folder inside the site; nothing is replaced |
| POST | /api/v1/tenants/{tid}/sites/{id}/files/delete | Delete a file or folder; a link is removed, its target is not |
| POST | /api/v1/tenants/{tid}/sites/{id}/files/extract | Unpack a zip, all or nothing; never replaces existing entries |
| POST | /api/v1/tenants/{tid}/sites/{id}/files/mkdir | Create a folder |
| POST | /api/v1/tenants/{tid}/sites/{id}/files/rename | Move an entry; never replaces an existing one |
| GET | /api/v1/tenants/{tid}/sites/{id}/files/search | Find entries by name below a folder |
| GET | /api/v1/tenants/{tid}/sites/{id}/files/trash | Deleted items, kept for 30 days |
| DELETE | /api/v1/tenants/{tid}/sites/{id}/files/trash/{item} | Remove an item for good |
| POST | /api/v1/tenants/{tid}/sites/{id}/files/trash/{item}/restore | Put an item back; never replaces what is there now |
| POST | /api/v1/tenants/{tid}/sites/{id}/files/writable | Let the site's own code change a folder, or stop it |
| GET | /api/v1/tenants/{tid}/sites/{id}/ftp | The site's FTPS/SFTP accounts and how to connect (ADR 0040) |
| POST | /api/v1/tenants/{tid}/sites/{id}/ftp | Add an FTP account; the password is hashed and never returned |
| PUT | /api/v1/tenants/{tid}/sites/{id}/ftp/{fid} | Change an FTP account's folder, access, state or password (empty keeps it) |
| DELETE | /api/v1/tenants/{tid}/sites/{id}/ftp/{fid} | Remove an FTP account |
| GET | /api/v1/tenants/{tid}/sites/{id}/permissions | Scan the site's own access levels and offer permission presets (ADR 0108) |
| POST | /api/v1/tenants/{tid}/sites/{id}/permissions/apply | Apply the previewed plan (409 PRESET_STALE if the site changed since) |
| POST | /api/v1/tenants/{tid}/sites/{id}/permissions/preview | Exactly what a preset would change now |
| POST | /api/v1/tenants/{tid}/sites/{id}/permissions/undo | Put back what the latest preset changed, where not changed again since |
| GET | /api/v1/tenants/{tid}/sites/{id}/protected-dirs | Password-protected folders of a site (ADR 0109) |
| POST | /api/v1/tenants/{tid}/sites/{id}/protected-dirs | Protect a folder; the server applies it before it is saved |
| DELETE | /api/v1/tenants/{tid}/sites/{id}/protected-dirs/{dir} | Stop protecting a folder |
| POST | /api/v1/tenants/{tid}/sites/{id}/protected-dirs/{dir}/users | Add a user (the password is hashed by the panel and never kept) |
| PUT | /api/v1/tenants/{tid}/sites/{id}/protected-dirs/{dir}/users/{user} | Change a user's password |
| DELETE | /api/v1/tenants/{tid}/sites/{id}/protected-dirs/{dir}/users/{user} | Remove a user |
| PUT | /api/v1/tenants/{tid}/sites/{id}/webdeploy | Turn Web Deploy publishing on (again, with a new password) or off for the site (ADR 0089) |
| GET | /api/v1/tenants/{tid}/sites/{id}/webdeploy/publishsettings | The site's .publishsettings file for Visual Studio; it holds the password, so it needs site.write |
Deployments and previews 25
| POST | /api/v1/hooks/git/{id} 202 | Push and pull request webhook from GitHub, GitLab, Gitea or Bitbucket (ADR 0027, 0160) |
| GET | /api/v1/preview-gate/{id} | The sign-in gate of a Git preview (ADR 0160) |
| GET | /api/v1/tenants/{tid}/deploy/placement | Where builds run (ADR 0171); provider tenant only |
| PUT | /api/v1/tenants/{tid}/deploy/placement | Choose it |
| GET | /api/v1/tenants/{tid}/preview-settings | The provider's Git preview settings (ADR 0160); provider tenant only |
| PUT | /api/v1/tenants/{tid}/preview-settings | Set the preview domain, certificates and the database copy limit |
| POST | /api/v1/tenants/{tid}/sites/{id}/deploy-source | Put a source on the site, as an application release or into its public folder (ADR 0025) |
| GET | /api/v1/tenants/{tid}/sites/{id}/deploy/settings | The site's deploy settings (ADR 0170, 0173, 0174) |
| PUT | /api/v1/tenants/{tid}/sites/{id}/deploy/settings | Change them. Turning the migration gate on needs database.write and acknowledged_one_way |
| GET | /api/v1/tenants/{tid}/sites/{id}/deploys | The site's latest deploy pipelines, newest first |
| GET | /api/v1/tenants/{tid}/sites/{id}/deploys/{pid} | One pipeline |
| POST | /api/v1/tenants/{tid}/sites/{id}/deploys/{pid}/actions/{action} 202 | Cancel, approve the switch, switch back, or choose a recovery (retry, restore, abandon) |
| GET | /api/v1/tenants/{tid}/sites/{id}/deploys/{pid}/log | The build's log as the server sent it so far (ADR 0171) |
| GET | /api/v1/tenants/{tid}/sites/{id}/git | The site's Git connection (ADR 0027); never the token or the webhook secret |
| PUT | /api/v1/tenants/{tid}/sites/{id}/git | Connect the site to a GitHub, GitLab, Gitea or Bitbucket branch; the webhook secret is returned once |
| DELETE | /api/v1/tenants/{tid}/sites/{id}/git | Forget the repository, its token and the webhook secret |
| POST | /api/v1/tenants/{tid}/sites/{id}/git/deploy | Deploy the branch's current commit now |
| GET | /api/v1/tenants/{tid}/sites/{id}/preview-settings | A live site's preview settings and what the plan allows |
| PUT | /api/v1/tenants/{tid}/sites/{id}/preview-settings | Save a live site's preview settings; previews take them at their next update |
| GET | /api/v1/tenants/{tid}/sites/{id}/previews | A live site's previews, newest first |
| POST | /api/v1/tenants/{tid}/sites/{id}/previews 202 | Make (or update) a preview of a branch now; it is built in the background |
| GET | /api/v1/tenants/{tid}/sites/{id}/previews/{pid} | One preview with the log of its latest build |
| DELETE | /api/v1/tenants/{tid}/sites/{id}/previews/{pid} | Remove a preview, its site (not kept) and its database |
| POST | /api/v1/tenants/{tid}/sites/{id}/previews/{pid}/promote | Deploy the preview's commit to the live site through the ordinary deployment (a release with rollback for an application) |
| POST | /api/v1/tenants/{tid}/sites/{id}/previews/{pid}/redeploy 202 | Build the preview again from its branch's newest commit |
TLS, WAF and site security 16
| GET | /api/v1/tenants/{tid}/letsencrypt | The panel's certificate authority (ADR 0012, E1); provider administrators on the root tenant only |
| PUT | /api/v1/tenants/{tid}/letsencrypt | Turn on Let's Encrypt (or switch between production and staging) with the administrator's acceptance of its Subscriber Agreement; audited (acme.enable). ACME_SET_BY_SETUP when setup.json chose the CA. Not for API keys |
| GET | /api/v1/tenants/{tid}/malware | Scans and findings of every site of the tenant |
| POST | /api/v1/tenants/{tid}/malware/findings/{fid} | Quarantine, restore or delete (from quarantine only) a finding's file; never automatic |
| GET | /api/v1/tenants/{tid}/malware/settings | Default scan schedule for sites whose plan does not set one; provider tenant only |
| PUT | /api/v1/tenants/{tid}/malware/settings | Change the defaults |
| PUT | /api/v1/tenants/{tid}/sites/{id}/blocked-ips 202 | Replace the addresses the site refuses with 403 (ADR 0024) |
| POST | /api/v1/tenants/{tid}/sites/{id}/certificate 202 | Start issuing a certificate; needs a verified hostname on a live site |
| PUT | /api/v1/tenants/{tid}/sites/{id}/force-https 202 | Redirect plain HTTP to HTTPS; needs an active certificate and URL Rewrite |
| GET | /api/v1/tenants/{tid}/sites/{id}/malware | The site's scans and findings |
| POST | /api/v1/tenants/{tid}/sites/{id}/malware/scans 202 | Scan the site with Defender and the panel's web shell rules (ADR 0084) |
| GET | /api/v1/tenants/{tid}/sites/{id}/waf | The site's web application firewall (ADR 0106) |
| PUT | /api/v1/tenants/{tid}/sites/{id}/waf | Apply the site's firewall settings; turning it on needs URL Rewrite, ARR and a plan that includes it |
| GET | /api/v1/tenants/{tid}/sites/{id}/waf/events | Requests the site's firewall blocked or would have blocked, newest first (kept 30 days) |
| GET | /api/v1/tenants/{tid}/waf/defaults | The provider's firewall defaults for sites of its servers (ADR 0106) |
| PUT | /api/v1/tenants/{tid}/waf/defaults | Replace them; sites already set up keep their own values |
Scheduled tasks 7
| GET | /api/v1/tenants/{tid}/sites/{id}/cron | A website's scheduled tasks (ADR 0048) |
| POST | /api/v1/tenants/{tid}/sites/{id}/cron | Add a scheduled task; it runs as the website's own identity |
| GET | /api/v1/tenants/{tid}/sites/{id}/cron/runs | The latest run of each task, read from the server |
| PUT | /api/v1/tenants/{tid}/sites/{id}/cron/{task} | Change a scheduled task |
| DELETE | /api/v1/tenants/{tid}/sites/{id}/cron/{task} | Remove a scheduled task |
| POST | /api/v1/tenants/{tid}/sites/{id}/cron/{task}/run 202 | Run a scheduled task now |
| GET | /api/v1/tenants/{tid}/sites/{id}/cron/{task}/runs | The kept runs of one task, newest first, with their output |
WordPress 22
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress 202 | Install WordPress into an empty site; the admin password is shown once |
| GET | /api/v1/tenants/{tid}/sites/{id}/wordpress/accel | The site's WordPress page and object cache |
| PUT | /api/v1/tenants/{tid}/sites/{id}/wordpress/accel 202 | Turn the page and object cache on or off; the server checks the site before and after and undoes the change if it answers differently or serves a cached page to a signed-in visitor |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/accel/purge 202 | Empty the page and object cache |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/core 202 | Update WordPress itself to the version in the signed catalog, restoring a backup if the site stops working |
| GET | /api/v1/tenants/{tid}/sites/{id}/wordpress/hardening | The latest hardening state |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/hardening 202 | Apply or undo hardening items; with none, only check |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/login | A one-time wp-admin sign-in link, valid for 60 seconds; only its hash reaches the server |
| PUT | /api/v1/tenants/{tid}/sites/{id}/wordpress/policy | Set the automatic update policy |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/publish 202 | Copy plugins and themes from a staging copy to its live site. Uploads and the database stay as they are |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/staging 202 | Copy a live WordPress site to a new hostname for testing |
| GET | /api/v1/tenants/{tid}/sites/{id}/wordpress/status | The latest check of WordPress versions and available updates |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/status 202 | Run a new check |
| GET | /api/v1/tenants/{tid}/sites/{id}/wordpress/toolkit | This site's WordPress Toolkit row (ADR 0082) |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/update 202 | Update plugins or themes, restoring a backup if the site stops working |
| GET | /api/v1/tenants/{tid}/wordpress | Every WordPress site of the tenant, on every server |
| POST | /api/v1/tenants/{tid}/wordpress/discover | Find WordPress in sites' folders and attach it; with server_id, every site on that server (server.manage) |
| GET | /api/v1/tenants/{tid}/wordpress/updates | The update queue, newest first |
| POST | /api/v1/tenants/{tid}/wordpress/updates 202 | Queue a smart update of many sites (snapshot, update, check, roll back on failure) |
| GET | /api/v1/tenants/{tid}/wordpress/vulnerability-feed | The vulnerability feed's state (ADR 0083) |
| PUT | /api/v1/tenants/{tid}/wordpress/vulnerability-feed | Set (or with an empty key, remove) the feed's API key; provider tenant only |
| POST | /api/v1/tenants/{tid}/wordpress/vulnerability-feed/refresh | Download the feed now |
Databases 37
| GET | /api/v1/tenants/{tid}/databases | |
| POST | /api/v1/tenants/{tid}/databases | Create a database and its account; the password is shown once |
| DELETE | /api/v1/tenants/{tid}/databases/{id} | Delete a database and its account, including its data |
| GET | /api/v1/tenants/{tid}/databases/{id}/adminer | The open database tool for this database, if any |
| POST | /api/v1/tenants/{tid}/databases/{id}/adminer | Open the database tool on an HTTPS site for up to 60 minutes |
| DELETE | /api/v1/tenants/{tid}/databases/{id}/adminer | Close the database tool now |
| GET | /api/v1/tenants/{tid}/databases/{id}/backups | |
| POST | /api/v1/tenants/{tid}/databases/{id}/backups 202 | Queue a backup |
| DELETE | /api/v1/tenants/{tid}/databases/{id}/backups/{bid} | Delete a backup |
| GET | /api/v1/tenants/{tid}/databases/{id}/backups/{bid}/content | Download a backup |
| POST | /api/v1/tenants/{tid}/databases/{id}/backups/{bid}/restore | Replace the database with a backup; a safety backup is taken first |
| POST | /api/v1/tenants/{tid}/databases/{id}/copy | Copy the database to a new one on the same server and engine, with its own account; the password is shown once |
| POST | /api/v1/tenants/{tid}/databases/{id}/import 202 | Import a dump into the database (ADR 0068): .sql or .sql.gz for MariaDB and PostgreSQL (also pg_dump custom format), .bak for SQL Server. A safety backup is taken first and put back if the import fails; the reply is that backup, whose state follows the import. |
| POST | /api/v1/tenants/{tid}/databases/{id}/password | Replace the account's password. It is shown once, or written into the application that uses it |
| GET | /api/v1/tenants/{tid}/databases/{id}/pitr | The database's point-in-time recovery: whether it is on, the earliest and latest moments it can be restored to (ADR 0183) |
| PUT | /api/v1/tenants/{tid}/databases/{id}/pitr | Turn point-in-time recovery on or off; the plan's pitr_days says how far back it reaches (ADR 0183) |
| POST | /api/v1/tenants/{tid}/databases/{id}/pitr/restore 202 | Restore the database as it was just before a moment: into a new database (201, its password shown once) or in place after a safety backup (202) (ADR 0183) |
| GET | /api/v1/tenants/{tid}/databases/{id}/tls | How to reach the database over TLS from outside (ADR 0181) |
| GET | /api/v1/tenants/{tid}/databases/{id}/users | The database's extra users (ADR 0067) |
| POST | /api/v1/tenants/{tid}/databases/{id}/users | Add a user with read-only, read-write or chosen privileges; the password is shown once |
| PUT | /api/v1/tenants/{tid}/databases/{id}/users/{uid} | Change a user's privileges and the networks it may connect from; its password stays |
| DELETE | /api/v1/tenants/{tid}/databases/{id}/users/{uid} | Remove a user |
| POST | /api/v1/tenants/{tid}/databases/{id}/users/{uid}/password | Replace a user's password; shown once, after it works |
| GET | /api/v1/tenants/{tid}/db-servers | External database servers the provider registered; needs server.manage (ADR 0182) |
| POST | /api/v1/tenants/{tid}/db-servers | Register an external database server after connecting to it over verified TLS as its administrator (ADR 0182) |
| GET | /api/v1/tenants/{tid}/db-servers/available | External database servers the tenant may place databases on: its own and those its providers share (ADR 0182) |
| POST | /api/v1/tenants/{tid}/db-servers/fingerprint | Read the SHA-256 of the certificate a database server presents, to pin it; no credential is sent (ADR 0182) |
| PUT | /api/v1/tenants/{tid}/db-servers/{sid} | Change a server's settings; a new password or TLS setting is proved by connecting (ADR 0182) |
| DELETE | /api/v1/tenants/{tid}/db-servers/{sid} | Forget a server with no databases left on it; the server itself is not touched |
| POST | /api/v1/tenants/{tid}/db-servers/{sid}/check | Check the server's health now |
| GET | /api/v1/tenants/{tid}/remote-databases | The tenant's databases on external servers (ADR 0182) |
| POST | /api/v1/tenants/{tid}/remote-databases | Make a database and its owner on an external server; the password is shown once (ADR 0182) |
| DELETE | /api/v1/tenants/{tid}/remote-databases/{id} | Drop the database and its owner on the server |
| POST | /api/v1/tenants/{tid}/remote-databases/{id}/password | Give the owner a new password, shown once |
| GET | /api/v1/tenants/{tid}/servers/{id}/database-tls | TLS of the server's database engines for remote connections; needs server.manage (ADR 0181) |
| PUT | /api/v1/tenants/{tid}/servers/{id}/database-tls | Choose the certificate (the panel's database CA, or on the panel's own machine the panel's certificate) and whether remote users must use TLS; issues it (ADR 0181) |
| POST | /api/v1/tenants/{tid}/servers/{id}/database-tls/renew | Issue the database certificate again now (ADR 0181) |
Caches 4
| GET | /api/v1/tenants/{tid}/caches | Redis-compatible caches (Garnet), one process each (ADR 0050) |
| POST | /api/v1/tenants/{tid}/caches | Make a cache on a server; its password is in this answer only |
| DELETE | /api/v1/tenants/{tid}/caches/{id} | Remove a cache from its server |
| POST | /api/v1/tenants/{tid}/caches/{id}/password | Give a cache a new password, shown once |
DNS 22
| GET | /api/v1/tenants/{tid}/dns/template | The record template new zones start from (ADR 0093); provider and resellers only |
| PUT | /api/v1/tenants/{tid}/dns/template | Keep a new template; the old one becomes the prior a merge compares with |
| DELETE | /api/v1/tenants/{tid}/dns/template | Drop the tenant's own template and inherit again |
| POST | /api/v1/tenants/{tid}/dns/template/apply | Apply the template to the chosen zones |
| POST | /api/v1/tenants/{tid}/dns/template/preview | What applying the template would add and remove, zone by zone; changes nothing |
| GET | /api/v1/tenants/{tid}/dns/zones | DNS zones the panel holds (ADR 0033) |
| POST | /api/v1/tenants/{tid}/dns/zones | Add a zone to prove; it is served only once proven |
| GET | /api/v1/tenants/{tid}/dns/zones/{zid} | One zone with its records |
| DELETE | /api/v1/tenants/{tid}/dns/zones/{zid} | Take the zone off the server and forget it |
| PUT | /api/v1/tenants/{tid}/dns/zones/{zid}/cloudflare-token | Replace the Cloudflare token with one that reaches the same zone |
| PUT | /api/v1/tenants/{tid}/dns/zones/{zid}/credentials | Replace an outside zone's credentials with ones that reach the same zone |
| GET | /api/v1/tenants/{tid}/dns/zones/{zid}/dnssec | The zone's DNSSEC as of the last check (ADR 0094) |
| POST | /api/v1/tenants/{tid}/dns/zones/{zid}/dnssec/refresh | Ask the server how the zone is signed now |
| POST | /api/v1/tenants/{tid}/dns/zones/{zid}/dnssec/sign | Sign the zone on Microsoft DNS, with automatic key rollover |
| POST | /api/v1/tenants/{tid}/dns/zones/{zid}/dnssec/unsign | Unsign the zone and remove its keys; take the DS off at the registrar first |
| PUT | /api/v1/tenants/{tid}/dns/zones/{zid}/records | Replace the zone's records; a served zone changes on the server first |
| POST | /api/v1/tenants/{tid}/dns/zones/{zid}/refresh | Take the records Cloudflare holds now as the zone's records |
| POST | /api/v1/tenants/{tid}/dns/zones/{zid}/verify | Prove the zone by its public NS or TXT record, or with a reason; then serve it |
| GET | /api/v1/tenants/{tid}/servers/{id}/dns-secondaries | The secondaries allowed to copy this server's zones (ADR 0095) |
| POST | /api/v1/tenants/{tid}/servers/{id}/dns-secondaries | Add a secondary, another panel server or an outside one by address |
| POST | /api/v1/tenants/{tid}/servers/{id}/dns-secondaries/sync | Apply every zone again with the current transfer list |
| DELETE | /api/v1/tenants/{tid}/servers/{id}/dns-secondaries/{sid} | Remove a secondary; transfers to it end |
Mail 26
| GET | /api/v1/tenants/{tid}/connection-info | Everything the account needs to connect - panel, DNS, FTP, mail - and whether the domain points here |
| GET | /api/v1/tenants/{tid}/connection-info/mail-config | A mail client set-up file without any password - Thunderbird autoconfig, Outlook autodiscover or an Apple profile |
| GET | /api/v1/tenants/{tid}/mail/domains | Mail domains with their mailboxes (ADR 0038) |
| POST | /api/v1/tenants/{tid}/mail/domains | Turn on mail for a proven domain on a server with MailEnable |
| GET | /api/v1/tenants/{tid}/mail/domains/{did} | One mail domain, with a fresh look at its DNS |
| DELETE | /api/v1/tenants/{tid}/mail/domains/{did} | Remove the domain, its mailboxes and their mail from the server |
| POST | /api/v1/tenants/{tid}/mail/domains/{did}/dns | Add the mail records to the zone the panel holds |
| PUT | /api/v1/tenants/{tid}/mail/domains/{did}/enabled | Turn the domain's mail on or off |
| POST | /api/v1/tenants/{tid}/mail/domains/{did}/lists | Add a mailing list (ADR 0072) |
| PUT | /api/v1/tenants/{tid}/mail/domains/{did}/lists/{lid} | Change a mailing list's owner, moderation and members |
| DELETE | /api/v1/tenants/{tid}/mail/domains/{did}/lists/{lid} | Remove a mailing list |
| POST | /api/v1/tenants/{tid}/mail/domains/{did}/mailboxes | Add a mailbox; the password goes to the server once |
| PUT | /api/v1/tenants/{tid}/mail/domains/{did}/mailboxes/{mid} | Change a mailbox; the password only when given |
| DELETE | /api/v1/tenants/{tid}/mail/domains/{did}/mailboxes/{mid} | Remove a mailbox and its mail |
| PUT | /api/v1/tenants/{tid}/mail/domains/{did}/mailboxes/{mid}/autoresponder | Set a mailbox's autoresponder (ADR 0072) |
| PUT | /api/v1/tenants/{tid}/mail/domains/{did}/policy | Set a domain's catch-all and spam policy; MAIL_NOT_SUPPORTED where the engine has none (ADR 0072, 0073) |
| GET | /api/v1/tenants/{tid}/servers/{id}/mail-host | The server's mail host and its certificate (ADR 0039) |
| PUT | /api/v1/tenants/{tid}/servers/{id}/mail-host | Name the server's mail host and issue its certificate; needs server.manage (ADR 0039) |
| GET | /api/v1/tenants/{tid}/servers/{id}/mail-queue | Messages waiting to leave the server, envelopes only; needs server.manage (ADR 0074) |
| POST | /api/v1/tenants/{tid}/servers/{id}/mail-queue/actions | Retry or delete queued messages; needs server.manage |
| GET | /api/v1/tenants/{tid}/servers/{id}/mail-settings | The server's mail settings; needs server.manage (ADR 0073, 0074) |
| PUT | /api/v1/tenants/{tid}/servers/{id}/mail-settings | Set the smarthost, spam and virus filtering and the server-wide cap; needs server.manage |
| GET | /api/v1/tenants/{tid}/servers/{id}/mail-usage | The last hour's outgoing mail against each plan's limits; needs server.manage (ADR 0073) |
| GET | /api/v1/tenants/{tid}/smtp | The panel's outgoing mail server (ADR 0057); provider tenant only. The password is never returned |
| PUT | /api/v1/tenants/{tid}/smtp | Set the outgoing mail server; an empty password keeps the stored one |
| POST | /api/v1/tenants/{tid}/smtp/test | Send a test email now; the answer says whether the server took it |
Servers 15
| GET | /api/v1/tenants/{tid}/servers | Enrolled servers |
| GET | /api/v1/tenants/{tid}/servers/{id} | One enrolled server, as the server list shows it (R22) |
| DELETE | /api/v1/tenants/{tid}/servers/{id} | Remove a lost server, one whose agent never connected, or one whose agent was revoked, from the server list (ADR 0149 D21, ADR 0164 D28, ADR 0166) |
| POST | /api/v1/tenants/{tid}/servers/{id}/broker-check 202 | Run a job through the agent and the privileged broker |
| GET | /api/v1/tenants/{tid}/servers/{id}/capabilities | Observed facts and what can be offered, with reasons and freshness |
| GET | /api/v1/tenants/{tid}/servers/{id}/ftp | The server's FTP service; needs server.manage (ADR 0040) |
| PUT | /api/v1/tenants/{tid}/servers/{id}/ftp | Turn the FTP service on or off and set its ports; opens or closes the firewall |
| POST | /api/v1/tenants/{tid}/servers/{id}/inventory 202 | Ask the agent to report machine facts |
| GET | /api/v1/tenants/{tid}/servers/{id}/logs | A redacted page of the server's Event Log (System, Application), agent or broker log (ADR 0077); server.manage; audited |
| GET | /api/v1/tenants/{tid}/servers/{id}/monitor | The server's load and its sites', busiest and overloaded first (ADR 0036) |
| PUT | /api/v1/tenants/{tid}/servers/{id}/network | The server's public address and nameserver names |
| POST | /api/v1/tenants/{tid}/servers/{id}/runtimes/{rid}/install 202 | Queue a catalog runtime's install recipe |
| POST | /api/v1/tenants/{tid}/servers/{id}/usage | Measure now the disk use and this month's traffic of every site on the server (ADR 0029) |
| GET | /api/v1/tenants/{tid}/servers/{id}/webdeploy | The server's Web Deploy service (ADR 0089) |
| PUT | /api/v1/tenants/{tid}/servers/{id}/webdeploy | Turn the Web Management Service on or off and scope port 8172 in the firewall |
Server updates, services and tuning 16
| PUT | /api/v1/tenants/{tid}/servers/{id}/maintenance | Turn maintenance on (with a note) or off (empty note); the server takes nothing new while on (ADR 0052) |
| GET | /api/v1/tenants/{tid}/servers/{id}/orphan-folders | Website folders on the server the panel has no record of (no site, deleted or not, and no retention row), with size and file count; provider only (R22, ADR 0105) |
| POST | /api/v1/tenants/{tid}/servers/{id}/orphan-folders/remove 202 | Queue the removal of one website folder the panel has no record of; its name typed in confirm; provider only; audited server.site_folder_orphan_remove (R22, ADR 0105) |
| GET | /api/v1/tenants/{tid}/servers/{id}/services | The allow-listed Windows services of a server, their state and start type (ADR 0075); server.read |
| POST | /api/v1/tenants/{tid}/servers/{id}/services/control | Start, stop, restart a service or set its start type; the panel's own services are refused; audited (ADR 0075) |
| POST | /api/v1/tenants/{tid}/servers/{id}/services/remove-orphan | Remove a ZopanelCache-* or ZopanelApp-* service whose cache or site the panel has no record of; provider only; audited (ADR 0105) |
| POST | /api/v1/tenants/{tid}/servers/{id}/time-sync 202 | Set Windows Time to follow NTP and correct the clock now (ADR 0060) |
| GET | /api/v1/tenants/{tid}/servers/{id}/tune | The server-wide tuning (compression, Brotli, HTTP/3, TLS 1.3; ADR 0118) |
| PUT | /api/v1/tenants/{tid}/servers/{id}/tune | Set the server-wide tuning policy and apply it now |
| GET | /api/v1/tenants/{tid}/servers/{id}/updates | Pending Windows updates, restart state and the maintenance window (ADR 0076); server.read |
| POST | /api/v1/tenants/{tid}/servers/{id}/updates/install | Install updates from the last scan now, or approve them for the next window; audited |
| POST | /api/v1/tenants/{tid}/servers/{id}/updates/reboot 202 | Restart the server in maintenance mode; maintenance ends when it is seen up again; audited |
| GET | /api/v1/tenants/{tid}/servers/{id}/updates/runs | Scans, installs and restarts, newest first |
| POST | /api/v1/tenants/{tid}/servers/{id}/updates/scan 202 | Look for pending updates now; audited |
| PUT | /api/v1/tenants/{tid}/servers/{id}/updates/settings | Set the maintenance window, automatic install and restart policy; audited |
| POST | /api/v1/tenants/{tid}/servers/{id}/updates/unapprove | Take updates off the next window's list |
Server hardening 9
| PUT | /api/v1/tenants/{tid}/servers/{id}/blocked-ips | Replace the addresses the server's firewall refuses (ADR 0024) |
| GET | /api/v1/tenants/{tid}/servers/{id}/hardening | One-click security fixes of a server, its last deep check and what can be undone (ADR 0111); provider administrators only |
| POST | /api/v1/tenants/{tid}/servers/{id}/hardening/scan | Deep check through the broker (Guest, lockout policy, IIS headers and the rest); kept and audited |
| POST | /api/v1/tenants/{tid}/servers/{id}/hardening/{fix}/apply | Apply a fix through a signed broker job, read it back, keep the state before for undo, audit and re-check |
| POST | /api/v1/tenants/{tid}/servers/{id}/hardening/{fix}/preview | What a fix would change, its warnings and whether it needs a restart; nothing is written |
| POST | /api/v1/tenants/{tid}/servers/{id}/hardening/{fix}/revert | Put back the state kept by the last apply; refused for Defender (never turned off) |
| GET | /api/v1/tenants/{tid}/servers/{id}/preset | The set of software this server is installing by itself, item by item (ADR 0049) |
| POST | /api/v1/tenants/{tid}/servers/{id}/preset/retry | Put the entries that failed or were skipped back in line and run the plan again, also a stopped one (ADR 0114) |
| POST | /api/v1/tenants/{tid}/servers/{id}/preset/stop | Stop the plan; an install already started finishes |
Agents and fleet 20
| GET | /api/v1/tenants/{tid}/agent-rollouts | Agent updates in batches (ADR 0098); needs server.read |
| POST | /api/v1/tenants/{tid}/agent-rollouts 202 | Update every agent to the panel's release, a canary batch first; stops when a batch fails. NO_RELEASE, ROLLOUT_BUSY, ROLLOUT_NOTHING_TO_DO |
| GET | /api/v1/tenants/{tid}/agent-rollouts/{rid} | One rollout |
| POST | /api/v1/tenants/{tid}/agent-rollouts/{rid}/actions/{action} 202 | resume a stopped rollout (its failed servers get the update again) or cancel |
| GET | /api/v1/tenants/{tid}/agent-versions | Every server's agent version and protocol against the panel, by the version skew policy (ADR 0152). Servers whose agent was revoked are left out. |
| GET | /api/v1/tenants/{tid}/enrollment-tokens | Enrollment tokens: live ones, and those used or expired in the last 24 hours, without their secret (ADR 0133) |
| POST | /api/v1/tenants/{tid}/enrollment-tokens | Create a one-time agent enrollment token |
| DELETE | /api/v1/tenants/{tid}/enrollment-tokens/{id} | Revoke an unused enrollment token: no server can join with it any more (ADR 0133) |
| GET | /api/v1/tenants/{tid}/local-server | How connecting the panel's own machine as a server goes (ADR 0114); 404 LOCAL_SERVER_NONE when it does not wait for that. Provider's own tenant only |
| POST | /api/v1/tenants/{tid}/local-server 202 | Connect the panel's own machine (again after a failure), installing the ticked part of the recommended set |
| GET | /api/v1/tenants/{tid}/server-losses | The provider's servers declared lost and what replaced them (ADR 0149) |
| GET | /api/v1/tenants/{tid}/server-rebuilds | Rebuilds of lost servers (ADR 0149) |
| POST | /api/v1/tenants/{tid}/server-rebuilds 202 | Declare a server lost (its agent revoked, maintenance) and rebuild everything it had on another server. Needs server.manage and the lost server's name in confirm. REBUILD_CONFIRM, REBUILD_BUSY, REBUILD_NOTHING |
| POST | /api/v1/tenants/{tid}/server-rebuilds/plan | Dry run of rebuilding a lost server on another one from off-machine backups (ADR 0149). Writes nothing. Needs server.manage. REBUILD_SOURCE_ONLINE, REBUILD_TARGET_OFFLINE, REBUILD_TARGET_LOST, REBUILD_SAME_SERVER |
| GET | /api/v1/tenants/{tid}/server-rebuilds/{rid} | One rebuild with its items |
| POST | /api/v1/tenants/{tid}/server-rebuilds/{rid}/actions/{action} 202 | retry (every failed or blocked item, or the one named in item) or cancel (the items not done). REBUILD_STATE when there is nothing to do |
| GET | /api/v1/tenants/{tid}/servers/{id}/abandon | What abandoning a gone server would drop, per tenant (ADR 0198) |
| POST | /api/v1/tenants/{tid}/servers/{id}/abandon | Abandon a gone server with what the panel keeps of it (ADR 0198) |
| DELETE | /api/v1/tenants/{tid}/servers/{id}/agent | Revoke a server's agent |
| POST | /api/v1/tenants/{tid}/servers/{id}/agent-update 202 | Move the server's agent and broker to the release the panel runs (ADR 0046) |
Backups and restore tests 17
| GET | /api/v1/backup-oauth/callback | The services' OAuth redirect; the sealed state says who asked. Redirects to the backups page with the outcome. |
| GET | /api/v1/tenants/{tid}/backup-cloud-apps | The provider's OAuth apps at Google Drive, OneDrive and Dropbox; never the secret (ADR 0100). Root tenant only. |
| PUT | /api/v1/tenants/{tid}/backup-cloud-apps/{provider} | Set a service's OAuth client; an empty secret keeps the old one, an empty client id removes the service |
| GET | /api/v1/tenants/{tid}/backup-settings | The account's S3 target, schedule and retention; secrets are never returned |
| PUT | /api/v1/tenants/{tid}/backup-settings | Change the S3 target (an empty secret keeps the old one), schedule and how many to keep |
| GET | /api/v1/tenants/{tid}/backups | The account's backups, newest first (ADR 0041) |
| POST | /api/v1/tenants/{tid}/backups 202 | Start a backup of the account on a server, full or databases only |
| DELETE | /api/v1/tenants/{tid}/backups/cloud | Forget the connected cloud account's tokens; copies stay in the customer's account |
| POST | /api/v1/tenants/{tid}/backups/cloud/connect | Start connecting a cloud account; the browser goes to auth_url, the service's consent page (OAuth2 with PKCE) |
| DELETE | /api/v1/tenants/{tid}/backups/{bid} | Delete a backup on the server and in S3; one that incremental backups build on needs with_dependents |
| POST | /api/v1/tenants/{tid}/backups/{bid}/restore 202 | Put parts of a backup back (sites' files, databases, mail); returns the job to follow |
| GET | /api/v1/tenants/{tid}/restore-test-history | The restore tests of this account's own backups, newest first, for its backups page (ADR 0188) |
| GET | /api/v1/tenants/{tid}/restore-tests | Restore test results (ADR 0154); the provider sees every account its policy covers, an account on a plan with restore tests its own tests |
| POST | /api/v1/tenants/{tid}/restore-tests 202 | Test one account's newest backup now, in a sandbox on a server; never touches what runs |
| GET | /api/v1/tenants/{tid}/restore-tests/policy | The provider's restore test policy (the defaults until saved) |
| PUT | /api/v1/tenants/{tid}/restore-tests/policy | Change it |
| GET | /api/v1/tenants/{tid}/restore-tests/{id} | One restore test with its checks |
Disaster recovery 5
| GET | /api/v1/tenants/{tid}/disaster-recovery | The panel's disaster-recovery exports, schedule and passphrase state (ADR 0078); provider administrators, session only |
| POST | /api/v1/tenants/{tid}/disaster-recovery/exports | Make an export now (kept on the panel and, when set up, in the provider's S3 bucket); audited |
| GET | /api/v1/tenants/{tid}/disaster-recovery/exports/{name} | Download an export; it opens only with the recovery passphrase; audited |
| PUT | /api/v1/tenants/{tid}/disaster-recovery/passphrase | Set or change the recovery passphrase; the administrator's password is checked again; audited |
| PUT | /api/v1/tenants/{tid}/disaster-recovery/schedule | When exports are made and how many are kept; audited |
Migrations and imports 25
| PUT | /api/v1/import/{iid}/archive | The old server's packed, encrypted backup of what the plan names |
| POST | /api/v1/import/{iid}/inventory | The old server's inventory; authenticated by the import token (ADR 0042) |
| GET | /api/v1/import/{iid}/plan | The plan for the old server, with the target account's backup key; 204 until the targets exist |
| GET | /api/v1/tenants/{tid}/imports | Imports from old servers; needs server.manage |
| POST | /api/v1/tenants/{tid}/imports | Start an import; the token is shown once |
| GET | /api/v1/tenants/{tid}/imports/{iid} | An import with the old server's inventory and, once done, the new credentials |
| POST | /api/v1/tenants/{tid}/imports/{iid}/passwords | Show the new databases' and mailboxes' passwords of a finished import, once; the panel forgets them in the same step (ADR 0042). IMPORT_PASSWORDS_SHOWN when already shown |
| POST | /api/v1/tenants/{tid}/imports/{iid}/plan 202 | Choose what to move and to which account and server; the panel makes the targets |
| GET | /api/v1/tenants/{tid}/linux-imports | Imports from cPanel and DirectAdmin account backups (ADR 0185); needs server.manage |
| POST | /api/v1/tenants/{tid}/linux-imports | Start an import from an uploaded backup, an https link, or the source panel's API (cPanel UAPI token, WHM token, DirectAdmin login key; certificate pinned, token sealed). LINUX_IMPORT_SOURCE, LINUX_IMPORT_API, LINUX_IMPORT_API_AUTH, LINUX_IMPORT_API_CERTIFICATE, LINUX_IMPORT_PRIVATE_ADDRESS |
| POST | /api/v1/tenants/{tid}/linux-imports/probe | Show the source panel's certificate before anything is trusted or sent |
| GET | /api/v1/tenants/{tid}/linux-imports/{lid} | One import, with the inventory and every exception |
| POST | /api/v1/tenants/{tid}/linux-imports/{lid}/actions/{action} 202 | final (fetch a newer backup from the link or API for the final delta), cutover (point DNS, turn the tasks on), retry (the failed step) or cancel |
| PUT | /api/v1/tenants/{tid}/linux-imports/{lid}/archive 202 | Upload the account backup (cpmove-USER.tar.gz, backup-DATE_USER.tar.gz, user.OWNER.USER.tar.gz or .tar.zst), the first or a newer one for the final delta; at most 200 GiB. LINUX_IMPORT_TOO_LARGE |
| POST | /api/v1/tenants/{tid}/linux-imports/{lid}/dry-run | What the plan would do, the names already taken, the software the server lacks and the exceptions; changes nothing |
| POST | /api/v1/tenants/{tid}/linux-imports/{lid}/passwords | The new mailbox, database user and FTP passwords, once. LINUX_IMPORT_PASSWORDS_SHOWN when already shown |
| POST | /api/v1/tenants/{tid}/linux-imports/{lid}/plan 202 | Choose what to move; the panel makes the targets and copies. LINUX_IMPORT_PLAN_INVALID, LINUX_IMPORT_PLAN_EMPTY, LINUX_IMPORT_CONFLICTS |
| GET | /api/v1/tenants/{tid}/migrations/plesk | Migrations from Plesk servers; needs server.manage |
| POST | /api/v1/tenants/{tid}/migrations/plesk | Sign in to Plesk with the confirmed fingerprints and read its inventory. The key or password is sealed and never returned. MIGRATE_PLESK_AUTH, MIGRATE_PLESK_CERTIFICATE, MIGRATE_PLESK_UNREACHABLE |
| POST | /api/v1/tenants/{tid}/migrations/plesk/probe | Show a Plesk server's panel and FTP certificates before anything is trusted or sent (ADR 0096); needs server.manage |
| GET | /api/v1/tenants/{tid}/migrations/plesk/{mid} | One migration; secrets only as "set" flags |
| POST | /api/v1/tenants/{tid}/migrations/plesk/{mid}/actions/{action} 202 | final_sync (copy only what changed, once Plesk is read-only), retry (the failed step) or cancel |
| POST | /api/v1/tenants/{tid}/migrations/plesk/{mid}/passwords | The new databases' and mailboxes' passwords, once. MIGRATE_PASSWORDS_SHOWN when already shown |
| POST | /api/v1/tenants/{tid}/migrations/plesk/{mid}/plan 202 | Choose subscriptions, with the FTP password and database logins Plesk does not give back; the panel makes the targets and copies. MIGRATE_PLAN_INVALID, MIGRATE_MSSQL_NOT_ALLOWED |
| POST | /api/v1/tenants/{tid}/migrations/plesk/{mid}/refresh | Read Plesk's inventory again, before a plan is made |
Uptime monitoring 12
| POST | /api/v1/tenants/{tid}/uptime/checkers | Add an external checker (zopanel-uptime); its secret is shown once |
| DELETE | /api/v1/tenants/{tid}/uptime/checkers/{id} | Remove an external checker; its checks go back to the panel |
| GET | /api/v1/tenants/{tid}/uptime/incidents | The account's incidents of the last 90 days |
| GET | /api/v1/tenants/{tid}/uptime/monitors | The account's uptime checks with their figures, recent incidents and usable external checkers (ADR 0156) |
| POST | /api/v1/tenants/{tid}/uptime/monitors | Add a check of a website, a mail service, a port, a server's agent or the panel |
| POST | /api/v1/tenants/{tid}/uptime/monitors/auto | Add a check for every website and owned server that has none |
| GET | /api/v1/tenants/{tid}/uptime/monitors/{id} | One check over a range, with response times, incidents and 90 day bars |
| PUT | /api/v1/tenants/{tid}/uptime/monitors/{id} | Change a check's settings; its history stays |
| DELETE | /api/v1/tenants/{tid}/uptime/monitors/{id} | Remove a check, its history and its place on status pages |
| POST | /api/v1/tenants/{tid}/uptime/monitors/{id}/check | Run a check now and record it like a scheduled one |
| GET | /api/v1/uptime-checkers/{id}/config | An external checker's checks, signed with its secret (X-Zopanel-Signature); the request is signed too |
| POST | /api/v1/uptime-checkers/{id}/results | Results from an external checker, signed; only its own checks count |
Status pages 26
| GET | /api/v1/tenants/{tid}/status-page-choices | The checks the account's status pages may show, its own and its accounts' (ADR 0187) |
| GET | /api/v1/tenants/{tid}/status-pages | The account's public status pages |
| POST | /api/v1/tenants/{tid}/status-pages | Add a status page of chosen checks |
| GET | /api/v1/tenants/{tid}/status-pages/{id} | One status page with its components, notices and subscriber counts |
| PUT | /api/v1/tenants/{tid}/status-pages/{id} | Change a status page and its components |
| DELETE | /api/v1/tenants/{tid}/status-pages/{id} | Remove a status page with its notices and subscribers |
| POST | /api/v1/tenants/{tid}/status-pages/{id}/notices | Post an incident note or schedule a maintenance; confirmed subscribers are emailed |
| PUT | /api/v1/tenants/{tid}/status-pages/{id}/notices/{nid} | Add a message to a notice and move its state |
| DELETE | /api/v1/tenants/{tid}/status-pages/{id}/notices/{nid} | Remove a notice posted by mistake |
| GET | /status | The default status page of the brand at this hostname, or the provider's (ADR 0187) |
| GET | /status-assets/status.css | The status pages' stylesheet |
| GET | /status.json | The default page for machines |
| GET | /status/confirm | The default page's confirmation link page |
| POST | /status/confirm | Confirm a subscription to the default page |
| GET | /status/history | The default page's last 90 days of incidents |
| POST | /status/subscribe | Email updates from the default page (double opt-in) |
| GET | /status/unsubscribe | The default page's unsubscribe link page |
| POST | /status/unsubscribe | Stop email updates from the default page |
| GET | /status/{slug} | A published status page, HTML without JavaScript; cacheable, rate-limited per address |
| GET | /status/{slug}/confirm | The confirmation link's page, with a button; opening it confirms nothing |
| POST | /status/{slug}/confirm | Confirm the subscription |
| GET | /status/{slug}/history | The page's incidents and maintenance of the last 90 days (ADR 0187) |
| GET | /status/{slug}/status.json | The same page for machines |
| POST | /status/{slug}/subscribe | Ask for email updates; a confirmation link is mailed (double opt-in) |
| GET | /status/{slug}/unsubscribe | The unsubscribe link's page, with a button |
| POST | /status/{slug}/unsubscribe | Stop the email updates |
Alerts and webhooks 8
| GET | /api/v1/tenants/{tid}/alerts | The tenant's alert channels with their latest deliveries (ADR 0037) |
| POST | /api/v1/tenants/{tid}/alerts | Add a webhook or Telegram channel; a webhook's signing secret is shown once |
| DELETE | /api/v1/tenants/{tid}/alerts/{cid} | Remove an alert channel |
| PUT | /api/v1/tenants/{tid}/alerts/{cid}/events | Choose which events the channel receives |
| POST | /api/v1/tenants/{tid}/alerts/{cid}/test | Send a test message now; the answer says whether it arrived |
| GET | /api/v1/tenants/{tid}/webhooks | Endpoints that receive signed events (ADR 0051) |
| POST | /api/v1/tenants/{tid}/webhooks | Add an endpoint; its signing secret is in this answer only |
| DELETE | /api/v1/tenants/{tid}/webhooks/{id} | Remove an endpoint and what it had still to receive |
Jobs, operations and audit log 5
| GET | /api/v1/tenants/{tid}/audit-events | |
| GET | /api/v1/tenants/{tid}/jobs | The tenant's jobs, newest first; file browsing jobs are left out |
| GET | /api/v1/tenants/{tid}/jobs/{id} | |
| GET | /api/v1/tenants/{tid}/jobs/{id}/events | |
| GET | /api/v1/tenants/{tid}/operations/{oid} | A long request that answered 202, and once done the answer it would have given (ADR 0132) |
AI assistant and MCP 12
| GET | /api/v1/tenants/{tid}/assistant | What the signed-in user may do with the assistant here (ADR 0161): on or why not, model, this month's use and budget |
| POST | /api/v1/tenants/{tid}/assistant/acknowledge | The signed-in user read the notice on how the assistant uses data |
| GET | /api/v1/tenants/{tid}/assistant/conversations | The signed-in user's own conversations in this account, newest first |
| POST | /api/v1/tenants/{tid}/assistant/conversations | Start a conversation (ASSISTANT_OFF, ASSISTANT_NOTICE_REQUIRED, ASSISTANT_BUDGET_EXCEEDED) |
| GET | /api/v1/tenants/{tid}/assistant/conversations/{cid} | One of the user's conversations with its tool cards and changes |
| DELETE | /api/v1/tenants/{tid}/assistant/conversations/{cid} | Delete a conversation for good |
| POST | /api/v1/tenants/{tid}/assistant/conversations/{cid}/actions/{aid} | Approve or decline a change the assistant proposed. Approved, it runs as the caller through its own route, audited with via=assistant, plus assistant.action; then the answer continues as server-sent events |
| POST | /api/v1/tenants/{tid}/assistant/conversations/{cid}/messages | Send a message; the answer streams as server-sent events. Tools run as the caller through these same routes; changes wait for the user (event action). Errors before the stream starts are ordinary problems (ASSISTANT_RATE_LIMITED, ASSISTANT_BUSY) |
| GET | /api/v1/tenants/{tid}/assistant/settings | The provider's assistant settings and this month's use per account; root tenant administrators |
| PUT | /api/v1/tenants/{tid}/assistant/settings | Save them. Turning on needs the API key and the data-processing notice accepted (ASSISTANT_KEY_REQUIRED, ASSISTANT_NOTICE_REQUIRED). Audited as assistant.settings |
| PUT | /api/v1/tenants/{tid}/assistant/tenant-settings | Turn the assistant off (or back on) for this account; account administrators (member.invite). Audited as assistant.tenant_settings |
| POST | /api/v1/tenants/{tid}/mcp 202 | MCP server (Streamable HTTP, JSON answers, no session) with the assistant's tools: initialize, tools/list, tools/call, ping. API keys only (ASSISTANT_MCP_API_KEY_REQUIRED); the key's owner and scope apply to every tool. Notifications answer 202 |
Branding and customer-facing pages 19
| GET | /api/v1/branding | The brand of the caller's own panel |
| GET | /api/v1/branding-assets/{hash} | A brand's logo or favicon by its SHA-256, served as an image only (strict policy, sandboxed) |
| GET | /api/v1/branding/public | The sign-in page's brand, by the hostname it is opened on (ADR 0085) |
| GET | /api/v1/tenants/{tid}/branding | A seller's own white label (provider or reseller) |
| PUT | /api/v1/tenants/{tid}/branding | Save the white label and panel hostnames; accents must keep WCAG AA (BRANDING_CONTRAST) |
| DELETE | /api/v1/tenants/{tid}/branding | Remove the white label; customers see the brand above |
| PUT | /api/v1/tenants/{tid}/branding/assets/{kind} | Upload the logo or favicon (PNG re-encoded; SVG refused when it has anything active), at most 256 KB |
| DELETE | /api/v1/tenants/{tid}/branding/assets/{kind} | Remove the logo or favicon |
| GET | /api/v1/tenants/{tid}/custom-buttons | A seller's custom buttons and the icons they may use |
| POST | /api/v1/tenants/{tid}/custom-buttons | Add a button to the customers' menu or overview |
| GET | /api/v1/tenants/{tid}/custom-buttons/visible | The buttons this tenant's pages show, from the seller that owns it |
| PUT | /api/v1/tenants/{tid}/custom-buttons/{bid} | Change a button |
| DELETE | /api/v1/tenants/{tid}/custom-buttons/{bid} | Remove a button |
| GET | /api/v1/tenants/{tid}/notice-templates | The quota notice templates of this seller, each kind in vi and en |
| PUT | /api/v1/tenants/{tid}/notice-templates/{kind}/{lang} | Save a notice template after trying it; empty subject and body restore the default |
| GET | /api/v1/tenants/{tid}/suspension-page | The page visitors of this seller's suspended accounts see (ADR 0071) |
| PUT | /api/v1/tenants/{tid}/suspension-page | Save the suspension page (or reset it); accounts suspended now get it too |
| GET | /api/v1/tenants/{tid}/suspension-page/preview | The suspension page as HTML, from query fields, for the editor's sandboxed frame |
| POST | /api/v1/tenants/{tid}/suspension-page/preview | Render a suspension page as typed, without saving it |
Panel administration 22
| GET | /api/v1/tenants/{tid}/autoheal-policy | What the panel does by itself with overloaded sites and services (ADR 0091, 0092) |
| PUT | /api/v1/tenants/{tid}/autoheal-policy | Replace the policy (server.manage) |
| PUT | /api/v1/tenants/{tid}/catalog | Install a newer signed catalog; provider tenant only |
| GET | /api/v1/tenants/{tid}/catalog/runtimes | Signed runtime catalog, evaluated for a server when server_id is given |
| GET | /api/v1/tenants/{tid}/container-settings | The registries containers may use and whether digests are required |
| PUT | /api/v1/tenants/{tid}/container-settings | Change them (the provider only) |
| GET | /api/v1/tenants/{tid}/license | This installation's license, its limits and what is in use (ADR 0047); provider administrators only |
| PUT | /api/v1/tenants/{tid}/license | Replace the license with a signed one issued for this installation |
| GET | /api/v1/tenants/{tid}/panel-address | The panel's public address: set with -public-url (flag), by the setup wizard or here (setting), or none (ADR 0133) |
| PUT | /api/v1/tenants/{tid}/panel-address | Set the panel's public address after install; empty clears it (ADR 0133) |
| GET | /api/v1/tenants/{tid}/panel-certificate | The panel's own certificate (ADR 0064); provider administrators on the root tenant only |
| PUT | /api/v1/tenants/{tid}/panel-certificate | Set the panel's name; in ACME mode a certificate for it is issued at once; audited |
| POST | /api/v1/tenants/{tid}/panel-certificate/issue 202 | Use Let's Encrypt (the configured ACME CA) and issue now, even after a recent failure; audited |
| POST | /api/v1/tenants/{tid}/panel-certificate/upload | Use an uploaded certificate: a PFX (base64) with its password, or the chain and key as PEM. It must cover the panel's name; audited |
| GET | /api/v1/tenants/{tid}/panel-clock | The panel's own clock against trusted time (ADR 0060) |
| GET | /api/v1/tenants/{tid}/panel-logs | A redacted page of the panel's own log; the provider's administrators only (ADR 0077) |
| GET | /api/v1/tenants/{tid}/panel-update | The panel's own updates: installed release, what the feed offers (version, severity, signed notes), the policy and the current update (ADR 0145) |
| POST | /api/v1/tenants/{tid}/panel-update/apply 202 | Install the offered release: a panel.update job for the broker on the panel's own machine, which runs zopanel-setup update -feed detached (backup, switch, health check, rollback on failure). The panel restarts; the outcome is read back when it is up |
| POST | /api/v1/tenants/{tid}/panel-update/check | Read the feed now; the manifest and notes must carry a trusted release signature (PANEL_UPDATE_CHECK_FAILED, PANEL_UPDATE_OFFLINE). A newer release seen first raises update.available |
| PUT | /api/v1/tenants/{tid}/panel-update/settings | Feed, channel, offline mode, what installs by itself and in which window, and the agents' rollout after an update (ADR 0145) |
| POST | /api/v1/tenants/{tid}/support-bundles | Make a diagnostics bundle with secrets taken out, kept 24 hours (ADR 0052, 0153); provider administrators only. Each server's logs, services, IIS/HTTP.sys errors and Event Log entries come through its broker (support.collect, agent protocol 2; an older agent gives its agent and broker logs only). Servers are read side by side, each within about 40 seconds of its own; a server whose agent was not heard from for 5 minutes is left out at once. Past 20 seconds the answer is 202 with an operation (ADR 0132), whose body is this 201 when done |
| GET | /api/v1/tenants/{tid}/support-bundles/{id} | Download a diagnostics bundle |
Agent channel (internal) 15
| POST | /api/v1/agent/auth-failures | Failed sign-ins this agent's server saw (FTP, MailEnable, SQL Server) and the state of its log readers; answers which sources to read (ADR 0066) |
| POST | /api/v1/agent/enroll | Register an agent with a one-time token |
| POST | /api/v1/agent/ftp | The FTP service and accounts this agent's server should serve; reports the SFTP host key (ADR 0040) |
| GET | /api/v1/agent/handoffs/{id} | A secret a job names, for this agent's server, once (ADR 0038) |
| POST | /api/v1/agent/jobs/claim | Lease the next job; 204 when none. Signed agent request |
| POST | /api/v1/agent/jobs/{id}/complete | Record success. Signed agent request |
| POST | /api/v1/agent/jobs/{id}/fail | Record failure. Signed agent request |
| POST | /api/v1/agent/jobs/{id}/heartbeat | Extend a lease. Signed agent request |
| PUT | /api/v1/agent/jobs/{id}/log | A chunk of a running build's log, at an offset (agent only, signed over its digest) |
| POST | /api/v1/agent/metrics | One minute of the server's and its sites' load (ADR 0036) |
| GET | /api/v1/agent/release/{name} | One file of the release the panel runs, by its name in the signed manifest, for an agent update (ADR 0046) |
| GET | /api/v1/agent/sites/{id}/env | The variables a deployment names, for the server hosting the site |
| GET | /api/v1/agent/uploads/{id} | Fetch an upload addressed to this agent's server |
| PUT | /api/v1/agent/uploads/{id} | Send a file for a pending download, signed over its SHA-256 |
| POST | /api/v1/agent/waf-events | Events this agent's server firewall wrote (ADR 0106); events of sites not on the server are dropped |