domains

POST /v1/domains/{domainId}/email-routing/rules

Add a forwarding rule.

બધા domains એન્ડપૉઇન્ટ્સ

બધા ડેવલપર દસ્તાવેજો

પ્રમાણીકરણ

એપીઆઈ કી (API key) ને બેરર ટોકન તરીકે મોકલો. કી પાસે domains.dns.manage પરવાનગી હોવી આવશ્યક છે; તેના વગરની કીને 404 ને બદલે 403 સાથે અસ્વીકાર કરવામાં આવશે.

આ એન્ડપૉઇન્ટ કોઈ સંસ્થા આઈડી (organisation id) લેતું નથી. તમારી કી (key) પહેલેથી જ તે જે સંસ્થા સાથે સંબંધિત છે તેની ઓળખ કરે છે, અને પ્રતિસાદ (response) તે જ પૂરતો મર્યાદિત છે.

આયમાવો

કોઈપણ કૌંસમાં રહેલી બાબતને તમારા પોતાના મૂલ્યોથી બદલો અને કી પ્લેસહોલ્ડરને તમારા ડેશબોર્ડની કીથી બદલો.

curl -X POST https://api.zinndigital.com/v1/domains/{domainId}/email-routing/rules \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "matcher": <string>, "destinations": <string[]> }'

साइन ઇન કરેલ છે? તમારા ડેશબોર્ડમાં આવેલું API કન્સોલ તમારી વાસ્તવિક સંસ્થાની આઈડી અને તમારી પોતાની કી ભરે છે, અને લાઇવ API સામે વિનંતી ચલાવે છે જેથી તમે વાસ્તવિક પ્રતિસાદ જોઈ શકો. આ અંતિમબિંદુને API કન્સોલમાં ખોલો

વિગતો

Forward mail for one address to one or more verified destinations, or drop it. drop is a chosen behaviour and is never inferred from an empty destination list. Requires domains.dns.manage.

પેરામીટર્સ

નામપ્રકારજરૂરીતે શું છે
domainId (path)UuidહાThe domain's id.

રિકવેસ્ટ બોડી

નામપ્રકારજરૂરીતે શું છે
matcherstringહા
destinationsstring[]હા
actionEmailRoutingActionનાdrop is a chosen behaviour — it is how a catch-all silently discards spam — and is never inferred from an empty destination list.
namestringના
enabledbooleanના

જવાબ

નામપ્રકારજરૂરીતે શું છે
rule_idstringહા
matcherstringહાThe address this rule applies to. Empty for the catch-all.
destinationsstring[]હા
actionEmailRoutingActionહાdrop is a chosen behaviour — it is how a catch-all silently discards spam — and is never inferred from an empty destination list.
namestringહા
enabledbooleanહા
catch_allbooleanહા
unsupportedbooleanહાtrue when the provider's rule uses a shape this API cannot express — a Worker target, say. Such a rule is shown read-only rather than hidden: hiding it would make this screen…

આ એન્ડપોઇન્ટ જે ભૂલો પરત કરી શકે છે

401 · 403 · 404 · 422 · 429 · 503