Set up or change how emails sent to a specific domain are handled. You can forward all email to another address or disable this feature. The endpoint returns an ID to track the update status.
Accept Example Content-Type Example domain string · enum required example7.com example9.com example38.com example13.com example39.com example40.com action string · enum required disable forward destination string success boolean timestamp string requestId string data object https://cloud.hostup.se/api/email-forwarding/catch-all curl -X PUT "https://cloud.hostup.se/api/email-forwarding/catch-all" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"domain": "example7.com",
"action": "disable",
"destination": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"message": "string",
"catchAll": {
"id": "string",
"enabled": true,
"name": "string",
"actionType": "string",
"destination": "string",
"tag": "string"
}
}
} {
"domain": "example7.com",
"action": "disable",
"destination": "string"
}