Prove the zone by its public NS or TXT record, or with a reason; then serve it
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/dns/zones/{zid}/verifyProve the zone by its public NS or TXT record, or with a reason; then serve it
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
zid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
object
reasonstring optional
Example
{
"reason": "string"
}Responses
200 Proven and served
Content type: application/json
idstring requiredtenant_idstring requiredserver_idstring requirednamestring requiredstatestring requiredAllowed values:"pending""active"providerstring requiredAllowed values:"server""cloudflare""route53""digitalocean"verified_viastring requiredAllowed values:"""nameservers""dns""override""cloudflare""route53""digitalocean"serialinteger (int64) requiredcreated_atstring (date-time) requiredupdated_atstring (date-time) requirednamestring requiredRelative to the zone; @ for the zone itself
typestring requiredAllowed values:"A""AAAA""CNAME""MX""TXT""SRV""CAA"valuestring requiredttlinteger requiredpriorityinteger optionalweightinteger optionalportinteger optionalproxiedboolean optionalCloudflare's proxy; A, AAAA and CNAME in Cloudflare zones only (ADR 0035)
nameserversarray<string> requiredverify_namestring requiredverify_valuestring required
Example
{
"id": "string",
"tenant_id": "string",
"server_id": "string",
"name": "string",
"state": "pending",
"provider": "server",
"verified_via": "",
"serial": 0,
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z",
"records": [
{
"name": "string",
"type": "A",
"value": "string",
"ttl": 0,
"priority": 0,
"weight": 0,
"port": 0,
"proxied": true
}
],
"nameservers": [
"string"
],
"verify_name": "string",
"verify_value": "string"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required