Set Domain Mail Hosting
set_domain_mail_hostingEnable or disable mail hosting for a domain by setting enabled to true or false. This pure state change preserves the domain, mailboxes, and their settings.
Instructions
Enables or disables mail hosting for a domain. Set enabled=true to have MXroute handle mail for the domain, enabled=false to pause mail hosting. Pure state change: the domain, its mailboxes, and their settings are kept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name on this account, e.g. example.com (letters, digits, hyphens; at least one dot) | |
| enabled | Yes | Whether MXroute hosts mail for the domain (true = enable, false = disable) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||