Remove catch-all email functionality for your domain, stopping the forwarding of all emails sent to any address at the domain.
Request
Body Params application/json
{
"domainIds": [
"DA84A348-C526-4563-AFCD-6DDD71C3FE69"
],
"contains": "",
"tagIds": [],
"status": []
}
Request Code Samples
curl --location --request DELETE 'https://api.zapmail.ai/api/v2/domains/catch-all' \
--header 'x-auth-zapmail;' \
--header 'x-workspace-key;' \
--header 'x-service-provider;' \
--header 'Content-Type: application/json' \
--data-raw '{
"domainIds": [
"DA84A348-C526-4563-AFCD-6DDD71C3FE69"
],
"contains": "",
"tagIds": [],
"status": []
}'
Responses
application/json {
"status": 200,
"message": "Catch all email will be removed soon",
"data": null
}
Modified at 2025-10-14 09:25:49