Runs examples for real against your account. Test keys only; kept in this tab, never stored on our side. Get a key
ZapSMTP / Docs / Inbound setup

Delete an inbound domain

DELETE/v1/inbound/domains/{id}

Delete an inbound domain.

Requires a full-access live key; test keys get 403 test_key_restricted.

Path parameters

idstring (UUID)required
Inbound domain id

Errors

restricted_api_keyHTTP 403
test_key_restrictedHTTP 403
test-mode keys can send test email and read, not change the account: use a live key
not_foundHTTP 404
inbound domain not found
DELETE/v1/inbound/domains/{id}
curl -X DELETE 'https://zapsmtp.xyz/v1/inbound/domains/019a1e9b-41c2-7a0e-b5d1-3f6c2e8a9d47' \
  -H "Authorization: Bearer $ZAP_API_KEY"
Set ZAP_API_KEY in your environment.

Response 204 with an empty body.