connections

POST /v1/registrar-accounts/{connectionId}/refresh

Re-read one linked registrar account now.

Tất cả các điểm cuối connections

Tất cả tài liệu dành cho nhà phát triển

Xác thực

Gửi khóa API dưới dạng mã thông báo bearer. Khóa này phải có quyền connections.manage; khóa không có quyền này sẽ bị từ chối với mã lỗi 403, không phải 404.

Endpoint này không nhận ID tổ chức. Khóa của bạn đã xác định tổ chức mà nó thuộc về và phản hồi được giới hạn trong phạm vi đó.

Dùng thử

Thay thế bất kỳ nội dung nào trong ngoعل (angle brackets) bằng giá trị của riêng bạn và trình giữ chỗ key bằng một key từ trang tổng quan của bạn.

curl -X POST https://api.zinndigital.com/v1/registrar-accounts/{connectionId}/refresh \
  -H "Authorization: Bearer zdk_live_…"

Đã đăng nhập? Bảng điều khiển API trong trang quản lý của bạn sẽ tự điền ID tổ chức thực tế và khóa của riêng bạn, sau đó chạy yêu cầu đối với API trực tiếp để bạn có thể xem phản hồi thực tế. Mở điểm cuối này trong bảng điều khiển API

Chi tiết

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.

Tham số

TênLoạiBắt buộcNội dung này là gì
connectionId (path)UuidThe MCP connection's id.

Phản hồi

TênLoạiBắt buộcNội dung này là gì
refusedstringEmpty 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…
vendorstring
seenintegerDomains the registrar listed.
createdinteger
updatedinteger
retiredintegerDomains 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.

Các lỗi điểm cuối này có thể trả về

401 · 403 · 404 · 422 · 429