domains
DELETE /v1/domains/{domainId}/email-routing/enabled
Turn inbound email routing off for a domain.
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ázev | Typ | Požadováno | Co to je |
|---|---|---|---|
domainId (path) | Uuid | Ano | The domain's id. |
Odpověď
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
domain_id | Uuid | Ano | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
fqdn | string | Ano | — |
supported | boolean | Ano | — |
enabled | boolean | Ano | — |
status | string | Ano | The provider's own word for the zone's state. Displayed, never branched on. |
dns_ready | boolean | Ano | Whether the provider reports the required DNS actually live. Distinct from `enabled` — a zone can be switched on with its `MX` not yet resolving. |
plan | DomainEmailRoutingDnsRecord[] | Ano | — |
rules | DomainEmailRoutingRule[] | Ano | — |
catch_all | DomainEmailRoutingRule | Ano | — |
addresses | DomainEmailRoutingAddress[] | Ano | — |
addresses_readable | boolean | Ano | `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_readable | boolean | Ano | `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_readable | boolean | Ano | `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… |
impact | DomainEmailRoutingImpact | Ano | What 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