dnsRecordId and zoneId from Get DNS Records (id and zone_id).value, host or recordType.host (@ for the root domain). When it is left out the host is taken from the first label of the record name, so a root record such as example.com is rewritten to example.example.com and a new record appears instead of the old one changing.priority. A records need an IPv4 address, and CNAME, NS, MX and ALIAS values cannot be IP addresses. ALIAS is allowed only on ClouDNS-managed domains.data is the provider's own response and its shape varies by provider.curl --location --request PUT 'https://api.zapmail.ai/api/v3/dns' \
--header 'x-auth-zapmail;' \
--header 'Content-Type: application/json' \
--data '{
"assignedDomainId": "83e2d581-fcb5-48e5-ad21-02f0e57eec69",
"dnsRecordId": "372e67954025e0ba6aaa6d586b9e0b59",
"zoneId": "023e105f4ecef8ad9ca31a8372d0c353",
"value": "ghs.googlehosted.com"
}'{
"status": 200,
"message": "Dns records updated successfully",
"data": {
"id": "372e67954025e0ba6aaa6d586b9e0b59",
"type": "CNAME",
"name": "mail.acme-outreach.com",
"content": "ghs.googlehosted.com",
"ttl": 3600
}
}