domains

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

Turn inbound email routing off for a domain.

Ҳамаи нуқтаҳои ниҳоии domains

Санҷиши ҳаққоният

Kaliti API-ро ҳамчун рамзи доранда (bearer token) фиристед. Калит бояд дорои иҷозати domains.dns.manage бошад; калиди бидуни он бо хатои 403 рад карда мешавад, на 404.

Ин нуқтаи поёнӣ ягон рақами мушаххаси созмонро талаб намекунад. Калиди шумо аллакай созмонеро, ки ба он тааллуқ дорад, муайян мекунад ва ҷавоб ба он маҳдуд карда мешавад.

Санҷидан

Ҳар чизро дар қаavски кунҷӣ бо қиматҳои худ ва ҷойи нигоҳдорандаи калидро бо калима аз панели идоракунии худ иваз кунед.

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

Воarid шудаед? Консоли API дар панели идоракунии шумо рақами мушаххаси ташкилоти воқеӣ ва калиди худро пур мекунад ва дархостро бар зидди API-и фаъол иҷро мекунад, то шумо посухи воқеиро бубинед. Ин нуқтаи ниҳоиро дар консоли API кушоед

Тафсилот

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`.

Параметрҳо

НомНамудТалаб карда мешавадИн чӣ аст
domainId (path)UuidБалеThe domain's id.

Ҷавоб

НомНамудТалаб карда мешавадИн чӣ аст
domain_idUuidБалеUUIDv7 identifier — sortable by creation time (docs/02 §8).
fqdnstringБале
supportedbooleanБале
enabledbooleanБале
statusstringБалеThe provider's own word for the zone's state. Displayed, never branched on.
dns_readybooleanБалеWhether the provider reports the required DNS actually live. Distinct from `enabled` — a zone can be switched on with its `MX` not yet resolving.
planDomainEmailRoutingDnsRecord[]Бале
rulesDomainEmailRoutingRule[]Бале
catch_allDomainEmailRoutingRuleБале
addressesDomainEmailRoutingAddress[]Бале
addresses_readablebooleanБале`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_readablebooleanБале`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_readablebooleanБале`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…
impactDomainEmailRoutingImpactБалеWhat turning routing on would replace, measured against the zone's live records.

Хатоҳое, ки ин нуқтаи ниҳоӣ метавонад баргардонад

401 · 403 · 404 · 422 · 429 · 503