Account Custom Nameservers
custom_nameservers
Methods
Get Eligible Zones For Account Custom Nameservers -> Envelope<Array<string>>
get/accounts/{account_id}/custom_ns/availability
Get Eligible Zones for Account Custom Nameservers
post/accounts/{account_id}/custom_ns
Add Account Custom Nameserver
Security
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example: X-Auth-Email: user@example.com
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example: X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194
Parameters
account_id: string
Account identifier tag.
Response fields
success: true
Whether the API call was successful
A single account custom nameserver.
Request example
200Example
Delete Account Custom Nameserver -> Envelope<Array<string>>
delete/accounts/{account_id}/custom_ns/{custom_ns_id}
Delete Account Custom Nameserver
get/accounts/{account_id}/custom_ns
List an account's custom nameservers.
Domain types
CustomNameserver = { dns_records, ns_name, status, 2 more... }