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
Delete Account Custom Nameserver -> Envelope<Array<string>>
delete/accounts/{account_id}/custom_ns/{custom_ns_id}
Delete 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.
custom_ns_id: string
The FQDN of the name server.
Response fields
success: true
Whether the API call was successful
result: Array<string>
Optional
result_info: { count, page, per_page, 1 more... }
Optional
Request example
200Example
get/accounts/{account_id}/custom_ns
List an account's custom nameservers.
Domain types
CustomNameserver = { dns_records, ns_name, status, 2 more... }