Deactivate Email Forwarding for Domain#
This endpoint lets you deactivate email forwarding for your domain, stopping the forwarding of emails from your domain to the specified email address.Endpoint#
Request Body#
Name | Type | Description |
---|
domainIds | array | An array of domain IDs from which email forwarding should be removed. |
contains | string | (Optional) Remove email forwarding only for domains that match the specified keyword. |
Example Request#
{
"domainIds": ["domainId1", "domainId2"],
"contains": "example"
}
Request Code Samples
curl --location --request DELETE 'https://api.zapmail.ai/api/v2/domains/email-forwarding' \
--header 'x-auth-zapmail: '
Responses
application/json {
"status": 200,
"message": "Email forwarding will be removed soon",
"data": null
}
Modified at 2025-01-30 13:12:10