Change the MX settings for a domain. Can be set to auto, local, remote, or secondary.
accountId integer · min: 1 required Example Unique account identifier
Accept Example Content-Type Example domain string required mxcheck string required success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string details array https://cloud.hostup.se/api/hosting/{accountId}/email-routing curl -X PUT "https://cloud.hostup.se/api/hosting/13974/email-routing" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"domain": "string",
"mxcheck": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"accountId": "string",
"cpanelUsername": "string",
"domain": "string",
"mxcheck": "string",
"set": true
}
} {
"domain": "string",
"mxcheck": "string"
}