This endpoints lets you update dns records for a domain.Fields Description#
Body#
Name | Type | Description |
---|
assignedDomainId | string | The unique identifier for the domain to which the DNS record is assigned. |
host | string | The domain or subdomain for which the DNS record applies. |
value | string | The corresponding value of the DNS record, such as an IP address or another domain. |
recordType | string | The type of DNS record (e.g., A , CNAME , MX , TXT ). |
cdfId | string | The unique identifier for the CDF associated with the domain. |
zoneId | string | The unique identifier for the DNS zone. |
Request Code Samples
curl --location --request PUT 'https://api.zapmail.ai/api/v2/dns' \
--header 'x-auth-zapmail: '
Responses
application/json Modified at 2025-01-31 11:51:54