Enable or disable mail hosting
set_mail_hosting_statusEnable or disable MXroute mail hosting for a domain. Disabling stops MXroute from handling its mail; confirm before changing.
Instructions
Enables or disables mail hosting for a domain. Disabling stops MXroute from handling mail for the domain. Safe to repeat with the same value. Destructive: confirm with the user before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name on the MXroute account, e.g. example.com | |
| enabled | Yes | true to enable mail hosting, false to disable it |