Configure and update email forwarding for a domain

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.

Headers

Accept Example
Content-Type Example

Body

required
application/json
domain string · enum required
example7.com
example9.com
example38.com
example13.com
example39.com
example40.com
action string · enum required
disable
forward
destination string

Responses

200
success boolean
timestamp string
requestId string
data object
PUT https://cloud.hostup.se/api/email-forwarding/catch-all
For AI assistants
cURL
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"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "message": "string",
    "catchAll": {
      "id": "string",
      "enabled": true,
      "name": "string",
      "actionType": "string",
      "destination": "string",
      "tag": "string"
    }
  }
}
Request Body
{
  "domain": "example7.com",
  "action": "disable",
  "destination": "string"
}