connections
POST /v1/registrar-accounts/{connectionId}/refresh
Re-read one linked registrar account now.
Автентифікація
Надішліть ключ API як маркер носія (bearer token). Ключ повинен мати дозвіл connections.manage; ключ без нього відхиляється з кодом 403, а не 404.
Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.
Спробувати
Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.
curl -X POST https://api.zinndigital.com/v1/registrar-accounts/{connectionId}/refresh \
-H "Authorization: Bearer zdk_live_…"Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого API, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі 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. |
Помилки, які може повертати ця кінцева точка
401 · 403 · 404 · 422 · 429