Turn off email for a domain
Turns email off for a domain and removes the records Cloady published for it. Answers 409 `in_use` while the domain has mailboxes or aliases: delete them first. Needs the admin role.
Authorization
cloady Personal API token (cldy_…)
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/workspaces/string/mail/domains/string"{ "ok": true}Change a workspace's email settings PATCH
Sets the monthly spend cap for sending, requests or releases a dedicated sending IP ($20 a month, provisioned by hand), picks the default sending domain and changes the spam filter. Needs the admin role.
Turn on email for a domain PUT
Turns email on for one of the workspace's domains, or changes it: `mailboxes` hosts mailboxes and takes the domain's mail, `send` only signs and sends from it. The domain must be registered here, or carry the `_cloady` TXT record verifyDomain asks for (pointing it at Cloady's nameservers alone isn't enough), else 409 `unverified` with the record in `details.verification`; sending from it pauses whenever that record is gone. Turning email on needs a card on the workspace owner's account (402 `payment_required`); receiving mail stays free. On Cloady's nameservers, or at the registrar on Automatic DNS, the MX, SPF, DKIM and DMARC records are published for you; elsewhere `records` lists what to add. A domain of the workspace's apps that isn't a workspace domain yet is added as one. Answers 409 `reserved` for an address under cloady.io or cloady.com, `taken` when another workspace holds it, and `not_available` for `send`, which isn't available yet. Needs the admin role.