Delete an email forwarding rule for a domain

Delete a specific email forwarding rule for your domain. You need to specify both the domain name and the rule ID, which you can obtain from POST /api/email-forwarding.

Domain Services Email

Context

Workflow links

Requires

Query Parameters

domain string required · Example: example.com
ruleId string required · Example: 4d2d048d7e8b441794f0928f6a7df32a

Headers

Accept Example
Content-Type Example

Responses

200
data object required
data.message string required · Example: Email forwarding rule deleted successfully

Human-readable message.

requestId string required · Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba

Unique request identifier (UUID).

success boolean required · Example: true

True for successful responses.

timestamp string required · Example: 2026-02-10T00:00:00.000Z

ISO 8601 timestamp (UTC).

DELETE https://cloud.hostup.se/api/email-forwarding
For AI assistants
cURL
curl -X DELETE "https://cloud.hostup.se/api/email-forwarding?domain=example.com&ruleId=4d2d048d7e8b441794f0928f6a7df32a" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "2026-02-10T00:00:00.000Z",
  "requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
  "data": {
    "message": "Email forwarding rule deleted successfully"
  }
}