connections
POST /v1/registrar-accounts/{connectionId}/refresh
Re-read one linked registrar account now.
Упълномощаване
Изпратете API ключ като токен за носене. Ключът трябва да притежава разрешението connections.manage; ключ без него се отхвърля с 403, а не с 404.
Този ендпойнт не изисква идентификатор на организация. Вашият ключ вече идентифицира организацията, към която принадлежи, и отговорът е ограничен до нея.
Опитайте
Заменете всичко в квадратни скоби със собствени стойности, а ключовия заместващ символ – с ключ от вашето табло за управление.
curl -X POST https://api.zinndigital.com/v1/registrar-accounts/{connectionId}/refresh \
-H "Authorization: Bearer zdk_live_…"Влязохте ли в профила си? API конзолата във вашето табло за управление попълва действителното идентификационно число на вашата организация и вашия собствен ключ и изпълнява заявката спрямо реалното API, за да можете да видите действителния отговор. Отворете този крайpoint в API конзолата
Детайли
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.
Параметри
| Име | Тип | Задължително | Какво представлява |
|---|---|---|---|
connectionId (path) | Uuid | Да | The MCP connection's id. |
Отговор
| Име | Тип | Задължително | Какво представлява |
|---|---|---|---|
refused | string | Да | 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 | Да | — |
seen | integer | Да | Domains the registrar listed. |
created | integer | Да | — |
updated | integer | Да | — |
retired | integer | Да | 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. |
Грешки, които този крайpoint може да върне
401 · 403 · 404 · 422 · 429