reseller
POST /v1/reseller/nameservers/verify
Check whether your nameservers answer.
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 reseller.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.
Nơi điền id tổ chức của bạn
Điểm cuối này nhận org_id làm tham số truy vấn. Hãy bỏ trống để áp dụng cho toàn bộ cây thuê của bạn; hoặc truyền giá trị vào để thu hẹp phạm vi gọi về một tổ chức duy nhất.
Mã tổ chức của bạn nằm ở màn hình khóa API trong bảng điều khiển, ngay bên cạnh khóa đó. Đây là cùng một mã trong mọi lệnh gọi mà bạn thực hiện.
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/reseller/nameservers/verify \
-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
Looks your hostnames up on the public internet and confirms they resolve to our anycast addresses. Requires `reseller.manage`. ⛔ This is the only thing that turns `serving` on, and `serving` is what lets a real client zone be delegated to you. ⛔ `checked` is `false` when our resolver could not answer. That is **not** "your glue is missing" — nothing is changed, and the two send you to opposite actions.
Tham số
| Tên | Loại | Bắt buộc | Nội dung này là gì |
|---|---|---|---|
org_id (query) | Uuid | Không | The organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agen… |
Phản hồi
| Tên | Loại | Bắt buộc | Nội dung này là gì |
|---|---|---|---|
domain | string | Có | The reseller's own domain, or `""` when they have not claimed one. |
hostnames | string[] | Có | Derived from `domain` — `ns1.acme-hosting.com`, `ns2.acme-hosting.com`. Two, because registries reject a single-nameserver delegation. |
glue | ResellerNameserverGlue[] | Có | The `A` records the reseller must register at THEIR registrar. Nothing we hold can create them: they are a registry operation on a domain we do not sponsor. |
serving | boolean | Có | — |
status | string | Có | One sentence from the last check, for the screen and for support. |
vendor | string | Có | Which of our anycast DNS providers serves these hostnames. |
checked_at | string | Không | When it was last CHECKED, whatever the outcome. `null` means nobody has looked — a different fact from "checked and not serving". |
checked | boolean | Không | Verify responses only. `false` means our resolver could not answer and **nothing was changed** — not that the glue is missing. The two send a reseller to opposite actions. |
supported_vendors | string[] | Không | The anycast providers that can serve a nameserver brand of your own. |
Các lỗi điểm cuối này có thể trả về
401 · 403 · 404 · 429