What is the difference between Update and Override a DNS record using the API?

Dear all,
I hope you are doing well.

What is the difference between using API call “Update DNS record” and “Override DNS record”?

I have tried both and they work fine. I would like to know if there is a technical difference while using the API to update or override.

Best regards
Antonio

2 Likes

A PUT request replaces the entire record, almost like a delete and recreate (except that the ID remains the same). All required fields must be sent.

A PATCH request applies only the changes in your request. For example, {"name": "new-name.example.com"} changes only the name while leaving all other properties as-is.

3 Likes

Dear @janik1 ,
I hope you are fine.

Thank you very much for sharing your comments. I got the point :slight_smile:

Best regards
Antonio

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.