Zapmail
v1
  • latest
  • v1
  1. domains
Zapmail
v1
  • latest
  • v1
  • Zapmail Docs
  • users
    • Retrieve User Details
      GET
  • workspaces
    • Retrieve all workspaces
      GET
    • Create new workspace
      POST
    • Update workspace
      PUT
  • billing
    • Add Billing Details
      POST
  • mailbox
    • Retrieve All Mailboxes
      GET
    • Get Mailbox Details by ID
      GET
    • Assign New Mailboxes to Domains
      POST
    • Update mailbox
      PUT
    • Remove mailboxes on next renewal
      PUT
  • payments & wallet
    • Add balance to wallet
    • Get wallet balance
    • Enable auto recharge
  • export
    • Export mailboxes
    • Add third party account details
    • Update third party account details
  • subscriptions
    • Get all subscriptions
    • Cancel subscription
    • Upgrade existing subscription
  • domains
    • Retrieve All Domains
      GET
    • List Assignable Domains
      GET
    • Add DMARC record
      POST
    • Add Domain forwarding
      POST
    • Get Name servers to connect domain
      POST
    • Verify Name Server Propagation
      POST
    • Connect Domain with Zapmail
      POST
    • Enable email forwarding
      POST
    • Remove email forwarding
      DELETE
    • Enable catch all emails
      POST
    • Remove catch all emails
      DELETE
    • Check DNS records
      POST
    • Remove unused domains
      DELETE
    • Get available domains for registration
      POST
    • Get domains purchase payment link
      POST
  1. domains

Remove catch all emails

DELETE
/v1/domain/delete-catch-all-email

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#

NameTypeDescription
domainIdsarrayAn array of domain IDs for which catch-all email forwarding should be removed.
emailstring(Optional) The email address previously set for catch-all forwarding.
containsstring(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

Header Params
x-auth-zapmail
string 
required
Example:
{{x-auth-zapmail}}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://api.zapmail.ai/api/v1/domain/delete-catch-all-email' \
--header 'x-auth-zapmail: '

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Previous
Enable catch all emails
Next
Check DNS records
Built with