domains

DELETE /v1/domains/{domainId}/email-routing/enabled

Turn inbound email routing off for a domain.

Všechny koncové body domains

Autentizace

Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění domains.dns.manage; klíč bez něj je odmítnut s kódem 403, nikoli 404.

Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.

Vyzvednout

Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.

curl -X DELETE https://api.zinndigital.com/v1/domains/{domainId}/email-routing/enabled \
  -H "Authorization: Bearer zdk_live_…"

Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API

Podrobnosti

Ungated, deliberately: turning routing off gives the customer their mail back rather than taking it, and gating an exit is how a customer gets stuck. Requires `domains.dns.manage`.

Parametry

NázevTypPožadovánoCo to je
domainId (path)UuidAnoThe domain's id.

Odpověď

NázevTypPožadovánoCo to je
domain_idUuidAnoUUIDv7 identifier — sortable by creation time (docs/02 §8).
fqdnstringAno
supportedbooleanAno
enabledbooleanAno
statusstringAnoThe provider's own word for the zone's state. Displayed, never branched on.
dns_readybooleanAnoWhether the provider reports the required DNS actually live. Distinct from `enabled` — a zone can be switched on with its `MX` not yet resolving.
planDomainEmailRoutingDnsRecord[]Ano
rulesDomainEmailRoutingRule[]Ano
catch_allDomainEmailRoutingRuleAno
addressesDomainEmailRoutingAddress[]Ano
addresses_readablebooleanAno`false` when the credential could not list destination addresses — a scope a customer's own token may legitimately lack. Separate from an empty `addresses` list, because an empt…
rules_readablebooleanAno`false` when the credential could not list the forwarding rules. `Zone → Email Routing Rules` is a **separate** Cloudflare permission from the one that reads the zone's routing…
status_readablebooleanAno`false` when the credential could not read the zone's routing **settings** — the half that supplies `enabled`, `status`, `dns_ready` and `plan`. On Cloudflare this is a differen…
impactDomainEmailRoutingImpactAnoWhat turning routing on would replace, measured against the zone's live records.

Chyby, které může tento koncový bod vrátit

401 · 403 · 404 · 422 · 429 · 503