# CustomNameservers

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers">custom_nameservers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers#CustomNameserver">CustomNameserver</a>

Methods:

- <code title="post /accounts/{account_id}/custom_ns">client.CustomNameservers.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers#CustomNameserverService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers">custom_nameservers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers#CustomNameserverNewParams">CustomNameserverNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers">custom_nameservers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers#CustomNameserver">CustomNameserver</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/custom_ns/{custom_ns_id}">client.CustomNameservers.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers#CustomNameserverService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, customNSID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers">custom_nameservers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers#CustomNameserverDeleteParams">CustomNameserverDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/builtin#string">string</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/custom_ns">client.CustomNameservers.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers#CustomNameserverService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers">custom_nameservers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers#CustomNameserverGetParams">CustomNameserverGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers">custom_nameservers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_nameservers#CustomNameserver">CustomNameserver</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
