---
title: Tenant Custom Nameservers
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Tenant Custom Nameservers

##### [List Tenant Custom Nameservers](https://developers.cloudflare.com/api/go/resources/tenant_custom_nameservers/methods/get)

client.TenantCustomNameservers.Get(ctx, tenantTag) (\*SinglePage\[[TenantCustomNameserverGetResponse](<https://developers.cloudflare.com/api/go/resources/tenant_custom_nameservers#(resource)%20tenant_custom_nameservers%20%3E%20(model)%20TenantCustomNameserverGetResponse%20%3E%20(schema)>)], error)

GET/tenants/{tenant\_tag}/custom\_ns

##### [Add Tenant Custom Nameserver](https://developers.cloudflare.com/api/go/resources/tenant_custom_nameservers/methods/create)

client.TenantCustomNameservers.New(ctx, tenantTag, body) (\*[TenantCustomNameserverNewResponse](<https://developers.cloudflare.com/api/go/resources/tenant_custom_nameservers#(resource)%20tenant_custom_nameservers%20%3E%20(model)%20TenantCustomNameserverNewResponse%20%3E%20(schema)>), error)

POST/tenants/{tenant\_tag}/custom\_ns

##### [Delete Tenant Custom Nameserver](https://developers.cloudflare.com/api/go/resources/tenant_custom_nameservers/methods/delete)

client.TenantCustomNameservers.Delete(ctx, tenantTag, customNSID) (\*SinglePage\[string], error)

DELETE/tenants/{tenant\_tag}/custom\_ns/{custom\_ns\_id}