26 operations. Open one for its parameters, request body, responses and examples.
| Method | Path | Summary |
|---|---|---|
| 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 |