curl --request PUT \
--url https://api.kinsta.com/v2/domains/{domain_id}/dns-records \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "A",
"name": "abc.mydomain.com",
"ttl": 3600,
"new_resource_records": [
{
"value": "1.1.1.1"
}
],
"removed_resource_records": [
{
"value": "2.2.2.2"
}
]
}
'