connections
POST /v1/registrar-accounts/{connectionId}/refresh
Re-read one linked registrar account now.
Uwierzytelnianie
Wyślij klucz API jako token bearer. Klucz musi posiadać uprawnienie connections.manage; klucz bez niego jest odrzucany z kodem 403, a nie 404.
Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.
Wypróbuj
Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.
curl -X POST https://api.zinndigital.com/v1/registrar-accounts/{connectionId}/refresh \
-H "Authorization: Bearer zdk_live_…"Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API
Szczegóły
Asks the registrar for the account's current domain list and reconciles it: new domains appear, changed ones are updated, and domains the account no longer lists are retired. ⛔ retired is reported rather than swallowed. A refresh that retires forty domains is either a transfer the customer made or a key that has lost access, and both need saying out loud. ⛔ A registrar that refuses answers 200 with refused set, not a 5xx. The customer's own key or their registrar declined — that is an answer they can act on, and an error status makes the client render an anonymous failure where a specific, fixable sentence belongs. When refused is set every count is 0 and nothing was retired: a vendor outage is not a portfolio change. Spends the customer's own vendor quota, so it requires connections.manage.
Parametry
| Nazwa | Typ | Wymagane | Co to jest |
|---|---|---|---|
connectionId (path) | Uuid | Tak | The MCP connection's id. |
Odpowiedź
| Nazwa | Typ | Wymagane | Co to jest |
|---|---|---|---|
refused | string | Tak | Empty on success. Otherwise a machine reason (listing_failed, no_driver) — and when it is set, every count below is 0 and nothing was retired, because a failure to read is… |
vendor | string | Tak | — |
seen | integer | Tak | Domains the registrar listed. |
created | integer | Tak | — |
updated | integer | Tak | — |
retired | integer | Tak | Domains the account stopped listing, marked gone rather than deleted. ⛔ Shown to the customer, never swallowed: it is either a transfer they made or a key that lost access. |
Błędy, które ten punkt końcowy może zwrócić
401 · 403 · 404 · 422 · 429