domains
POST /v1/domains/{domainId}/dns/sync
Trigger immediate DNS propagation.
Autenticazione
Invia una chiave API come token di tipo bearer. La chiave deve disporre dell'autorizzazione domains.dns.manage; una chiave sprovvista di tale autorizzazione viene rifiutata con 403 anziché 404.
Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.
Provalo
Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.
curl -X POST https://api.zinndigital.com/v1/domains/{domainId}/dns/sync \
-H "Authorization: Bearer zdk_live_…"Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API
Dettagli
Publish a `domain.dns_changed` event so dependent systems (CDN origin, certificate SANs, indexing) reconcile the domain's DNS **at once** rather than waiting for a periodic sweep (register #93). A domain whose authoritative DNS we do not host is a `404`. Requires `domains.dns.manage`.
Parametri
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
domainId (path) | Uuid | Sì | The domain's id. |
Risposta
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
synced | boolean | Sì | — |
record_count | integer | Sì | The number of records visible to this product line at sync time (on the PBN line the hidden platform IP records are excluded — register #93). |
event_emitted | boolean | Sì | Whether the domain.dns_changed propagation event was published. |
Errori che questo endpoint può restituire
401 · 403 · 404 · 429