Use this call to enable email forwarding for a specific domain. This is useful when you want emails sent to an address on your domain to be forwarded to another email address. The call returns an ID that may be needed for follow-up actions related to email configuration.
Accept Example Content-Type Example domain string required domainId string required force boolean success boolean timestamp string requestId string data object https://cloud.hostup.se/api/email-forwarding/enable curl -X POST "https://cloud.hostup.se/api/email-forwarding/enable" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"domain": "string",
"domainId": "string",
"force": true
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"settings": {
"id": "string",
"tag": "string",
"name": "string",
"enabled": true,
"created": "string",
"modified": "string",
"skip_wizard": true,
"support_subaddress": true,
"synced": true,
"admin_locked": true,
"status": "string"
},
"syncResult": "string",
"message": "string"
}
} {
"domain": "string",
"domainId": "string",
"force": true
}