Delete an email forwarding rule

Remove an existing email forwarding rule from your hosting account. This is useful if you no longer need email to be sent to another address. The endpoint returns a message confirming the rule has been deleted.

Query Parameters

domain string · enum required
example7.com
example8.com
example9.com
example10.com
example11.com
ruleId string required

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
DELETE https://cloud.hostup.se/api/email-forwarding
For AI assistants
cURL
curl -X DELETE "https://cloud.hostup.se/api/email-forwarding?domain=example7.com&ruleId=string" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "message": "string"
  }
}