REST API for creating and updating DNS records

How to call a REST API for creating and updating DNS records ?
I already checked this Netlify API documentation but got info to get the record not to post.
I know it is possible but is there any documentation ?

Have you looked at the createDnsZone, and createDnsRecord endpoints?

1 Like

And if we want to update a individual DNS record then should be delete entire record and create a new one ?

As I understand it, yes. @luke can possibly provide more clarification.

1 Like

also where can i find ZONE_ID ?

Hi @Siddharth I responded to you on another thread. Please remember to not make duplicates.

1 Like