Run in Apidog
Deactivate Catch-All Email Forwarding for Domain# This endpoint lets you deactivate catch-all email functionality for your domain, stopping the forwarding of all emails sent to any address at the domain. Endpoint# Request Body# Name Type Description domainIds
array
An array of domain IDs for which catch-all email forwarding should be removed. email
string
(Optional) The email address previously set for catch-all forwarding. contains
string
(Optional) Remove catch-all forwarding only for domains that match the specified keyword.
Example Request# {
"domainIds" : [ "domainId1" , "domainId2" ] ,
"email" : "forward@example.com" ,
"contains" : "example"
}
Request Code Samples
curl --location --request DELETE 'https://api.zapmail.ai/api/v2/domains/catch-all' \
--header 'x-auth-zapmail: '
Responses application/json Generate Code
{
"status" : 200 ,
"message" : "Catch all email will be removed soon" ,
"data" : null
}
Modified at 2025-06-27 16:11:36