reseller
POST /v1/reseller/nameservers/verify
Check whether your nameservers answer.
Autenticação
Envie uma chave de API como um token de portador. A chave deve ter a permissão reseller.manage; uma chave sem ela é recusada com 403, e não 404.
Onde vai o ID da sua organização
Este endpoint aceita org_id como parâmetro de consulta. Omita-o e a chamada abrangerá toda a sua subárvore de locatários; envie-o para restringir a chamada a uma única organização.
O ID da sua organização está na tela de chaves de API no seu painel, ao lado da própria chave. É o mesmo ID em todas as chamadas que você fizer.
Experimente
Substitua qualquer item entre colchetes por seus próprios valores e o espaço reservado para a chave por uma chave do seu painel.
curl -X POST https://api.zinndigital.com/v1/reseller/nameservers/verify \
-H "Authorization: Bearer zdk_live_…"Conectado? O console da API no seu painel preenche o ID da sua organização real e a sua própria chave, e executa a requisição contra a API de produção para que você possa ver a resposta real. Abra este endpoint no console da API
Detalhes
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.
Parâmetros
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
org_id (query) | Uuid | Não | 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… |
Resposta
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
domain | string | Sim | The reseller's own domain, or `""` when they have not claimed one. |
hostnames | string[] | Sim | Derived from `domain` — `ns1.acme-hosting.com`, `ns2.acme-hosting.com`. Two, because registries reject a single-nameserver delegation. |
glue | ResellerNameserverGlue[] | Sim | 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 | Sim | — |
status | string | Sim | One sentence from the last check, for the screen and for support. |
vendor | string | Sim | Which of our anycast DNS providers serves these hostnames. |
checked_at | string | Não | When it was last CHECKED, whatever the outcome. `null` means nobody has looked — a different fact from "checked and not serving". |
checked | boolean | Não | 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[] | Não | The anycast providers that can serve a nameserver brand of your own. |
Erros que este endpoint pode retornar
401 · 403 · 404 · 429